summaryrefslogtreecommitdiff
path: root/demos/host/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-05-09 15:23:04 +0700
committerhathach <[email protected]>2013-05-09 15:23:04 +0700
commit446038fd36448cee41c728c8a22bbcb0811064e3 (patch)
tree4fc80b0b48b4572dd9dac4bc2406eaeab17bd320 /demos/host/src
parentc47328f29b9feaf7bf09b0e9a04886e1f55a9a99 (diff)
move cmsis to bsp/lpc43xx to keep all in repos for travis-ci run
update setting for all project file respectively
Diffstat (limited to 'demos/host/src')
-rw-r--r--demos/host/src/main.c2
-rw-r--r--demos/host/src/mouse_app.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/demos/host/src/main.c b/demos/host/src/main.c
index 2b03d781a..4ac0e164e 100644
--- a/demos/host/src/main.c
+++ b/demos/host/src/main.c
@@ -89,7 +89,7 @@ void os_none_start_scheduler(void)
}
#endif
-
+//TODO try to run with optimization Os
int main(void)
{
board_init();
diff --git a/demos/host/src/mouse_app.c b/demos/host/src/mouse_app.c
index 2825df8a8..4456aba67 100644
--- a/demos/host/src/mouse_app.c
+++ b/demos/host/src/mouse_app.c
@@ -136,11 +136,11 @@ static inline void process_mouse_report(tusb_mouse_report_t const * p_report)
p_report->buttons & HID_MOUSEBUTTON_RIGHT ? 'R' : '-');
}
- //------------- coordinator -------------//
- if ( p_report->x != 0 || p_report->y != 0 )
- {
- printf(" (%d, %d) ", p_report->x, p_report->y);
- }
+ //------------- movement (disabled for clearer demo) -------------//
+// if ( p_report->x != 0 || p_report->y != 0 )
+// {
+// printf(" (%d, %d) ", p_report->x, p_report->y);
+// }
}