iw4x-client/deps/mongoose/examples/stm32/nucleo-f746zg-keil-freertos-tcp/syscalls.c

11 lines
201 B
C
Raw Normal View History

2024-03-07 05:13:50 -05:00
#include <stdlib.h>
#include <string.h>
#include "main.h"
int stdout_putchar (int ch) {
extern UART_HandleTypeDef huart3;
HAL_UART_Transmit(&huart3, (const uint8_t *)&ch, 1, 100);
return ch;
}