diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-10-29 12:26:46 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-10-29 12:26:46 +0200 |
commit | 7b4dbb553a4d22e88bafc38163d1b2f951c40fde (patch) | |
tree | a44931ef69de0c2fac265e32d953e88213b998e0 /stm32f091/esp8266.c | |
parent | c429e17061d392ea4b3f73ebcc9101db8e491d8f (diff) |
add bunch of unneccesary debug stuff, fix some stuff and expect espressif esp firmware
Diffstat (limited to 'stm32f091/esp8266.c')
-rw-r--r-- | stm32f091/esp8266.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stm32f091/esp8266.c b/stm32f091/esp8266.c index b896567..159b55d 100644 --- a/stm32f091/esp8266.c +++ b/stm32f091/esp8266.c @@ -58,7 +58,7 @@ void ws_esp8266_send(uint8_t* data, size_t size) { g_ws_esp8266_dma_tx_buffer[limited_size] = 0x00; #ifdef WS_DBG_PRINT_ESP_OVER_USART2 - ws_dbg_set_usart2_tty_color(2); + ws_dbg_set_usart2_tty_color(WS_DBG_TTY_COLOR_TX); HAL_UART_Transmit(&huart2, g_ws_esp8266_dma_tx_buffer, strlen((char*) g_ws_esp8266_dma_tx_buffer), 100); #endif |