We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5130803 commit f5e8dfdCopy full SHA for f5e8dfd
c/main.c
@@ -15,6 +15,9 @@ typedef struct {
15
uint8_t patch_slot[PATCH_SLOT_SIZE*1024];
16
} memory_t;
17
18
+// instantiate memory
19
+memory_t flash;
20
+
21
// addresses of the slots
22
uint64_t START_PATCH_SLOT;
23
uint64_t START_OLD_SLOT;
@@ -32,9 +35,6 @@ int main(int argc, char *argv[]){
32
35
return 1;
33
36
}
34
37
- // instantiate memory
- memory_t flash;
-
38
// Initialize buffer sizes
39
READ_BUFFER_SIZE = atoi(argv[4]);
40
PATCH_BUFFER_SIZE = atoi(argv[5]);
0 commit comments