From: Wintermate Date: Fri, 25 Oct 2013 00:51:41 +0000 (+0200) Subject: USB-Modus: Bedienungshinweis. X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/commitdiff_plain/b9ebfed15bffbe99fb7bf7b5a17268e5bf3dfbb8 USB-Modus: Bedienungshinweis. --- diff --git a/Makefile b/Makefile index 08e6f70..6521086 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ SRAM = 8K # For USB HID support the LPC134x reserves 384 bytes from the sram, # if you don't want to use the USB features, just use 0 here. SRAM_USB = 384 +#SRAM_USB = 0 ########################################################################## # Debug settings diff --git a/badge/main.c b/badge/main.c index f092d36..2ffc4fe 100644 --- a/badge/main.c +++ b/badge/main.c @@ -191,7 +191,10 @@ static void usbmode(void) { badge_event_stop(); badge_framebuffer fb = { { { 0 } } }; - badge_framebuffer_render_text(&fb, 23, 30, "USB-Modus"); + badge_framebuffer_render_text(&fb, 22, 20, "USB-Modus"); +// badge_framebuffer_render_text(&fb, 10, 35, "Reset to exit"); + badge_framebuffer_render_text(&fb, 16, 35, "Zurück mit"); + badge_framebuffer_render_text(&fb, 32, 45, "Reset"); /* badge_framebuffer_render_number(&fb, 23, 50, sizeof(jumpnrun_tile)); badge_framebuffer_render_number(&fb, 33, 50, sizeof(jumpnrun_item)); @@ -207,8 +210,8 @@ static void usbmode(void) { } uint8_t main_menu_show(uint8_t selected) { - // first_visible = 0, weil das Menü so kurz ist. Sollte es - // größer werden: Parameter aus main_menu empfangen und merken. + // first_visible = 0, weil das Menü so kurz ist. Sollte es + // größer werden: Parameter aus main_menu empfangen und merken. uint8_t first_visible = 0; char const *const menu[] = { "Vanity-Screen",