7 lines
146 B
C
7 lines
146 B
C
|
#include "peripherals.h"
|
||
|
|
||
|
int _write(int file, char *ptr, int len) {
|
||
|
HAL_UART_Transmit(&huart1, (uint8_t *)ptr, len, 1000);
|
||
|
|
||
|
return len;
|
||
|
}
|