rm some comments
This commit is contained in:
@@ -44,7 +44,6 @@ void start_slave_cmd(uint8_t slave_addr, uint16_t frame_len, uint8_t cksum)
|
||||
|
||||
void gw_handle_usb_out(uint8_t *buffer)
|
||||
{
|
||||
dbg("Handling frame.");
|
||||
if (urx_state == URXS_IDLE) {
|
||||
PayloadParser pp = pp_start(buffer, MQ_SLOT_LEN, NULL);
|
||||
|
||||
|
||||
@@ -298,7 +298,6 @@ static int8_t CDC_Receive_FS(uint8_t* Buf, uint32_t *Len)
|
||||
USBD_CDC_ReceivePacket(&hUsbDeviceFS);
|
||||
|
||||
// queue the frame
|
||||
dbg("USB rx frame");
|
||||
gw_handle_usb_out(Buf); // this expects full 64byte frames always starting with magic or useful data
|
||||
|
||||
// handled immediately in the interrupt to block USB (NAK)
|
||||
|
||||
Reference in New Issue
Block a user