Skip to content

Commit d7becf5

Browse files
authored
Fix undeclared printf function usart_dma_rx_circular.c
1 parent e45e721 commit d7becf5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/usart_dma_rx_circular/usart_dma_rx_circular.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Using any terminal, send "toggle\r\n" to control the LED connected to PC7.
33

44
#include "ch32fun.h"
5+
#include <stdio.h>
56

67
#define RX_BUF_LEN 16 // size of receive circular buffer
78

0 commit comments

Comments
 (0)