code format
This commit is contained in:
parent
7a5d0b97e7
commit
e420930ce6
1 changed files with 12 additions and 12 deletions
|
@ -113,7 +113,8 @@ static void usbSend(uint8_t itf, uint8_t buf[], uint32_t count)
|
||||||
tud_cdc_n_write_flush(itf);
|
tud_cdc_n_write_flush(itf);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void usbSend(uint8_t itf, uint8_t value) {
|
static void usbSend(uint8_t itf, uint8_t value)
|
||||||
|
{
|
||||||
tud_cdc_n_write_char(itf, value);
|
tud_cdc_n_write_char(itf, value);
|
||||||
tud_cdc_n_write_flush(itf);
|
tud_cdc_n_write_flush(itf);
|
||||||
}
|
}
|
||||||
|
@ -223,11 +224,10 @@ int main()
|
||||||
|
|
||||||
// busy_wait_ms(5000);
|
// busy_wait_ms(5000);
|
||||||
if (!used) {
|
if (!used) {
|
||||||
//KeyerQueueData keyerQueueData {KeyerQueueCommand::SendMessage, 0, settings.mode, "cq cq de dg2smb dg2smb pse k"};
|
// KeyerQueueData keyerQueueData {KeyerQueueCommand::SendMessage, 0, settings.mode, "cq cq de dg2smb dg2smb
|
||||||
//queue_add_blocking(&keyerQueue, &keyerQueueData);
|
// pse k"}; queue_add_blocking(&keyerQueue, &keyerQueueData);
|
||||||
used = true;
|
used = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue