summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/app.c2
-rw-r--r--uisimulator/screensaver.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/uisimulator/app.c b/uisimulator/app.c
index 44f396eae2..0e5fe7eec8 100644
--- a/uisimulator/app.c
+++ b/uisimulator/app.c
@@ -102,11 +102,9 @@ void app_main(void)
102 case BUTTON_DOWN: 102 case BUTTON_DOWN:
103 if(cursor == menu_bottom ){ 103 if(cursor == menu_bottom ){
104 /* wrap around to menu top */ 104 /* wrap around to menu top */
105 printf("from (%d) to (%d)\n", cursor, menu_top);
106 cursor = put_cursor(cursor, menu_top); 105 cursor = put_cursor(cursor, menu_top);
107 } else { 106 } else {
108 /* move down */ 107 /* move down */
109 printf("from (%d) to (%d)\n", cursor, cursor+1);
110 cursor = put_cursor(cursor, cursor+1); 108 cursor = put_cursor(cursor, cursor+1);
111 } 109 }
112 break; 110 break;
diff --git a/uisimulator/screensaver.c b/uisimulator/screensaver.c
index b5e90d7cc0..ab7faf8d90 100644
--- a/uisimulator/screensaver.c
+++ b/uisimulator/screensaver.c
@@ -79,7 +79,7 @@ void ss_loop(void)
79 return; 79 return;
80 80
81 lcd_clear_display(); 81 lcd_clear_display();
82 drawrect(x-offset, y-offset, x2+offset, y2+offset); 82 lcd_drawrect(x-offset, y-offset, x2+offset, y2+offset);
83 lcd_update(); 83 lcd_update();
84 84
85 i+=factor; 85 i+=factor;