Fix typos
This commit is contained in:
@@ -113,7 +113,7 @@ void cdc_task(void)
|
||||
// connected and there are data available
|
||||
if ( tud_cdc_available() )
|
||||
{
|
||||
// read datas
|
||||
// read data
|
||||
char buf[64];
|
||||
uint32_t count = tud_cdc_read(buf, sizeof(buf));
|
||||
(void) count;
|
||||
|
@@ -1,7 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
# TOP is absolute path to root directory of TinyUSB git repo
|
||||
# needed for esp32sx build. TOOD could be removed later on
|
||||
# needed for esp32sx build. TODO could be removed later on
|
||||
set(TOP "../../..")
|
||||
get_filename_component(TOP "${TOP}" REALPATH)
|
||||
|
||||
|
@@ -31,7 +31,7 @@
|
||||
*
|
||||
* $ dfu-util -e
|
||||
*
|
||||
* This will send DETTACH command to put device into bootloader. Since this example
|
||||
* This will send DETACH command to put device into bootloader. Since this example
|
||||
* is minimal, it doesn't actually go into DFU mode but rather change the LED blinking
|
||||
* pattern to fast rate as indicator.
|
||||
*/
|
||||
|
@@ -157,11 +157,11 @@ void hid_task(void)
|
||||
{
|
||||
uint8_t const report_id = 0;
|
||||
uint8_t const button_mask = 0;
|
||||
uint8_t const veritical = 0;
|
||||
uint8_t const vertical = 0;
|
||||
uint8_t const horizontal = 0;
|
||||
int8_t const delta = 5;
|
||||
|
||||
tud_hid_n_mouse_report(ITF_NUM_MOUSE, report_id, button_mask, delta, delta, veritical, horizontal);
|
||||
tud_hid_n_mouse_report(ITF_NUM_MOUSE, report_id, button_mask, delta, delta, vertical, horizontal);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -175,7 +175,7 @@ void tud_hid_set_protocol_cb(uint8_t instance, uint8_t protocol)
|
||||
(void) protocol;
|
||||
|
||||
// nothing to do since we use the same compatible boot report for both Boot and Report mode.
|
||||
// TOOD set a indicator for user
|
||||
// TODO set a indicator for user
|
||||
}
|
||||
|
||||
// Invoked when sent REPORT successfully to host
|
||||
|
Reference in New Issue
Block a user