rename descriptor type, hid descriptor type

This commit is contained in:
hathach
2013-05-25 17:19:18 +07:00
parent ae02263d81
commit ed217948b8
14 changed files with 67 additions and 65 deletions

View File

@@ -25,10 +25,12 @@ int main(void)
{
if (current_tick + 1000 < system_ticks)
{
current_tick += 1000;
board_leds(0x01, (current_tick/1000)%2); /* Toggle LED once per second */
static uint32_t led_on_mask = 0;
printf("tinyusb: " __DATE__ "\t" __TIME__ "\n");
current_tick += 1000;
board_leds(led_on_mask, 1 - led_on_mask);
led_on_mask = 1 - led_on_mask; // toggle
#if !(defined TUSB_CFG_DEVICE_CDC) && 0
if (usb_isConfigured())