diff options
| author | hathach <[email protected]> | 2014-03-07 13:05:43 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-03-07 13:05:43 +0700 |
| commit | 05474e4bd2ff6a6ed5c99deddb0c96ff641f1bff (patch) | |
| tree | 2299ff9d0b013ee0a40810a2176230b3dfbf5fac /demos/device/src/main.c | |
| parent | 3d17212f299b1fd3ccc4b53b1f652624cdc7beed (diff) | |
refractor mouse app
Diffstat (limited to 'demos/device/src/main.c')
| -rw-r--r-- | demos/device/src/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/device/src/main.c b/demos/device/src/main.c index a69a710f1..890f6eea6 100644 --- a/demos/device/src/main.c +++ b/demos/device/src/main.c @@ -133,11 +133,11 @@ OSAL_TASK_FUNCTION( led_blinking_task ) (void* p_task_para) board_leds(led_on_mask, 1 - led_on_mask); led_on_mask = 1 - led_on_mask; // toggle - uint32_t btn_mask = board_buttons(); - for(uint8_t i=0; i<32; i++) - { - if ( BIT_TEST_(btn_mask, i) ) printf("button %d is pressed\n", i); - } +// uint32_t btn_mask = board_buttons(); +// for(uint8_t i=0; i<32; i++) +// { +// if ( BIT_TEST_(btn_mask, i) ) printf("button %d is pressed\n", i); +// } OSAL_TASK_LOOP_END } |
