rm some comments

retry
Ondřej Hruška 7 years ago
parent 78137628ba
commit e738c1e3a8
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 1
      Src/gex_gateway.c
  2. 1
      Src/usbd_cdc_if.c

@ -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)

Loading…
Cancel
Save