Commit 726359a5 by Sebastian Renner

Debugging LED call

parent 84bd336c
...@@ -80,6 +80,10 @@ static void write_serial(const void *src, unsigned int len) { ...@@ -80,6 +80,10 @@ static void write_serial(const void *src, unsigned int len) {
for (int i = 0; i < len; i++) { for (int i = 0; i < len; i++) {
while (!LL_USART_IsActiveFlag_TXE(USART1)); while (!LL_USART_IsActiveFlag_TXE(USART1));
LL_USART_TransmitData8(USART1, buf[i]); LL_USART_TransmitData8(USART1, buf[i]);
LL_GPIO_TogglePin(GPIOB, LL_GPIO_PIN_12);
LL_GPIO_TogglePin(GPIOB, LL_GPIO_PIN_12);
LL_GPIO_TogglePin(GPIOB, LL_GPIO_PIN_12);
LL_GPIO_TogglePin(GPIOB, LL_GPIO_PIN_12);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment