projects
/
hackover2013-badge-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Schrift erweitert.
[hackover2013-badge-firmware.git]
/
badge
/
main.c
diff --git
a/badge/main.c
b/badge/main.c
index
87927b9
..
466ae3e
100644
(file)
--- a/
badge/main.c
+++ b/
badge/main.c
@@
-186,7
+186,7
@@
void rbInit() {
#endif
#endif
-void usbmode(void) {
+
static
void usbmode(void) {
badge_event_stop();
badge_framebuffer fb = { { { 0 } } };
badge_event_stop();
badge_framebuffer fb = { { { 0 } } };
@@
-202,8
+202,9
@@
void usbmode(void) {
for(;;);
}
for(;;);
}
-void scrolltest(void) {
- badge_browse_textfile("/fahrplan/test.txt");
+static void fahrplan(void) {
+ f_chdir("/fahrplan");
+ badge_browse_textfiles("fahrplan.lst");
}
uint8_t main_menu_show(uint8_t selected) {
}
uint8_t main_menu_show(uint8_t selected) {
@@
-233,7
+234,7
@@
void main_menu(void) {
switch(selected) {
case 0: badge_vanity_show(); break;
case 1: jumpnrun_play (); break;
switch(selected) {
case 0: badge_vanity_show(); break;
case 1: jumpnrun_play (); break;
- case 2:
scrolltest
(); break;
+ case 2:
fahrplan
(); break;
case 3: usbmode (); break;
}
}
case 3: usbmode (); break;
}
}
This page took
0.029233 seconds
and
4
git commands to generate.