projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move is_aligned() helper function into bertos/cfg/macros.h
[bertos.git]
/
boards
/
ek-lm3s1968
/
templates
/
kernel
/
main.c
diff --git
a/boards/ek-lm3s1968/templates/kernel/main.c
b/boards/ek-lm3s1968/templates/kernel/main.c
index 34ad1c652112a20f59cdb604568429b4bbd9c2dc..13adcb0ffcfd175cbf7ecf310c5ec6080a2987a7 100644
(file)
--- a/
boards/ek-lm3s1968/templates/kernel/main.c
+++ b/
boards/ek-lm3s1968/templates/kernel/main.c
@@
-87,7
+87,7
@@
static void init(void)
/* Initialize the keypad driver */
kbd_init();
/* Initialize the internal flash memory */
/* Initialize the keypad driver */
kbd_init();
/* Initialize the internal flash memory */
-
flash_init(&flash
);
+
flash_init(&flash, 0
);
/*
* Kernel initialization: processes (allow to create and dispatch
/*
* Kernel initialization: processes (allow to create and dispatch
@@
-128,4
+128,6
@@
int main(void)
monitor_report();
timer_delay(1000);
}
monitor_report();
timer_delay(1000);
}
+
+ return 0;
}
}