diff options
Diffstat (limited to 'bootloader')
-rwxr-xr-x | bootloader/mrobe500.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bootloader/mrobe500.c b/bootloader/mrobe500.c index 3663612c74..ede05aa25c 100755 --- a/bootloader/mrobe500.c +++ b/bootloader/mrobe500.c | |||
@@ -109,6 +109,7 @@ void mrdebug(void) | |||
109 | touchpad_calibrate_screen(); | 109 | touchpad_calibrate_screen(); |
110 | use_calibration(true); | 110 | use_calibration(true); |
111 | #endif | 111 | #endif |
112 | |||
112 | while(true) | 113 | while(true) |
113 | { | 114 | { |
114 | #if 0 | 115 | #if 0 |
@@ -144,14 +145,14 @@ void mrdebug(void) | |||
144 | // tsc2100_read_values(&x, &y, &z1, &z2); | 145 | // tsc2100_read_values(&x, &y, &z1, &z2); |
145 | // printf("x: %04x y: %04x z1: %04x z2: %04x", x, y, z1, z2); | 146 | // printf("x: %04x y: %04x z1: %04x z2: %04x", x, y, z1, z2); |
146 | // printf("tsadc: %4x", tsc2100_readreg(TSADC_PAGE, TSADC_ADDRESS)&0xffff); | 147 | // printf("tsadc: %4x", tsc2100_readreg(TSADC_PAGE, TSADC_ADDRESS)&0xffff); |
147 | // printf("current tick: %04x", current_tick); | 148 | printf("current tick: %04x", current_tick); |
148 | // printf("Address: 0x%08x Data: 0x%08x", address, *address); | 149 | printf("Address: 0x%08x Data: 0x%08x", address, *address); |
149 | // printf("Address: 0x%08x Data: 0x%08x", address+1, *(address+1)); | 150 | printf("Address: 0x%08x Data: 0x%08x", address+1, *(address+1)); |
150 | // printf("Address: 0x%08x Data: 0x%08x", address+2, *(address+2)); | 151 | printf("Address: 0x%08x Data: 0x%08x", address+2, *(address+2)); |
151 | // // tsc2100_keyclick(); /* doesnt work :( */ | 152 | // // tsc2100_keyclick(); /* doesnt work :( */ |
152 | // line -= 6; | 153 | // line -= 6; |
153 | // } | 154 | // } |
154 | #if 1 | 155 | #if 0 |
155 | if (button&BUTTON_TOUCHPAD) | 156 | if (button&BUTTON_TOUCHPAD) |
156 | { | 157 | { |
157 | if (button&BUTTON_REL) | 158 | if (button&BUTTON_REL) |