Resolved! Hi. I've included the code below. I want to pause for 10 seconds in standby mode. The code works once and never returns. And there is no serious drop in Ammeter. What could I be doing wrong?
#include <string.h> #include <stdio.h> #define printf(...) HAL_UART_Transmit((UART_HandleTypeDef *)&hlpuart1, (uint8_t *)u_buf,\ sprintf((char*)u_buf,__VA_ARGS__), 0xFFFF); uint8_t u_buf[256]; /* USER CODE BEGIN 2 *...