Skip to content

Commit a4a9303

Browse files
committed
fix typo
1 parent 8f58b13 commit a4a9303

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ static void dcd_pma_free(uint8_t ep_addr)
696696
// Presently, this should never be called for EP0 IN/OUT
697697
TU_ASSERT(open_ep_count > 2, /**/);
698698
TU_ASSERT(xfer_ctl_ptr(epnum,dir)->max_packet_size != 0, /**/);
699-
open_ep_count--;#include "common/tusb_fifo.h"
699+
open_ep_count--;
700700

701701
// If count is 2, only EP0 should be open, so allocations can be mostly reset.
702702

@@ -824,7 +824,7 @@ static void dcd_transmit_packet(xfer_ctl_t * xfer, uint16_t ep_ix)
824824
{
825825
dcd_write_packet_memory_ff(xfer->ff, oldAddr, len);
826826
}
827-
else#include "common/tusb_fifo.h"
827+
else
828828
#endif
829829
{
830830
dcd_write_packet_memory(oldAddr, &(xfer->buffer[xfer->queued_len]), len);

0 commit comments

Comments
 (0)