diff options
Diffstat (limited to 'firmware/target/arm/tms320dm320/creative-zvm/pic-creativezvm.c')
-rw-r--r-- | firmware/target/arm/tms320dm320/creative-zvm/pic-creativezvm.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/firmware/target/arm/tms320dm320/creative-zvm/pic-creativezvm.c b/firmware/target/arm/tms320dm320/creative-zvm/pic-creativezvm.c index d910eeb3b6..ab5462fa90 100644 --- a/firmware/target/arm/tms320dm320/creative-zvm/pic-creativezvm.c +++ b/firmware/target/arm/tms320dm320/creative-zvm/pic-creativezvm.c | |||
@@ -255,18 +255,14 @@ void GIO0(void) | |||
255 | break; | 255 | break; |
256 | } | 256 | } |
257 | #ifdef BUTTON_DEBUG | 257 | #ifdef BUTTON_DEBUG |
258 | unsigned char weergvn[10]; | ||
259 | #ifdef BOOTLOADER | 258 | #ifdef BOOTLOADER |
260 | lcd_set_foreground((sw ? LCD_RGBPACK(255,0,0) : LCD_RGBPACK(0,255,0) )); | 259 | lcd_set_foreground((sw ? LCD_RGBPACK(255,0,0) : LCD_RGBPACK(0,255,0) )); |
261 | #endif | 260 | #endif |
262 | snprintf(weergvn, sizeof(char)*10, "%x", | 261 | lcd_putsxyf(LCD_WIDTH-SYSFONT_WIDTH*10, LCD_HEIGHT-SYSFONT_HEIGHT*10, "%x", |
263 | (unsigned int)((msg[3] << 24) | | 262 | (unsigned int)((msg[3] << 24) | |
264 | (msg[2] << 16) | (msg[1] << 8) | msg[0])); | 263 | (msg[2] << 16) | (msg[1] << 8) | msg[0])); |
265 | lcd_putsxy(LCD_WIDTH-SYSFONT_WIDTH*10, LCD_HEIGHT-SYSFONT_HEIGHT*10, | 264 | lcd_putsxy(LCD_WIDTH-SYSFONT_WIDTH*10, LCD_HEIGHT-SYSFONT_HEIGHT*7, "%x", |
266 | weergvn); | 265 | btn); |
267 | snprintf(weergvn, sizeof(char)*10, "%x", btn); | ||
268 | lcd_putsxy(LCD_WIDTH-SYSFONT_WIDTH*10, LCD_HEIGHT-SYSFONT_HEIGHT*7, | ||
269 | weergvn); | ||
270 | #ifdef BOOTLOADER | 266 | #ifdef BOOTLOADER |
271 | lcd_set_foreground(LCD_BLACK); | 267 | lcd_set_foreground(LCD_BLACK); |
272 | #endif | 268 | #endif |