diff options
| author | hathach <[email protected]> | 2019-04-01 18:31:20 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-04-01 18:35:37 +0700 |
| commit | 8457d0d14cb79174d537c2cd210c0dea3c997358 (patch) | |
| tree | 4d27824d4a764544d9a31226f0ebec26a6a8b542 /examples/device/cdc_msc_hid/src | |
| parent | 2cc4ab2aef3c057f959cfec8a28e64061e04336f (diff) | |
add board_button_read()
Diffstat (limited to 'examples/device/cdc_msc_hid/src')
| -rw-r--r-- | examples/device/cdc_msc_hid/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/cdc_msc_hid/src/main.c b/examples/device/cdc_msc_hid/src/main.c index a203e567e..12e331af7 100644 --- a/examples/device/cdc_msc_hid/src/main.c +++ b/examples/device/cdc_msc_hid/src/main.c @@ -135,7 +135,7 @@ void usb_hid_task(void) if ( board_millis() < start_ms + interval_ms) return; // not enough time start_ms += interval_ms; - uint32_t const btn = board_buttons(); + uint32_t const btn = board_button_read(); if ( tud_suspended() && btn ) { |
