From 5dfe848129c8c36955532651a343a57f9aab060c Mon Sep 17 00:00:00 2001 From: fruchti Date: Mon, 5 Apr 2021 15:22:11 +0200 Subject: [PATCH] Light LEDs on data reception --- stm32f103t8u6/src/hgpl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stm32f103t8u6/src/hgpl.c b/stm32f103t8u6/src/hgpl.c index 61551c1..c198c0e 100644 --- a/stm32f103t8u6/src/hgpl.c +++ b/stm32f103t8u6/src/hgpl.c @@ -1,6 +1,7 @@ #include "hpgl.h" #include "usb_cdc.h" #include "pwm_output.h" +#include "led.h" unsigned int HPGL_ParseErrorCounter = 0; @@ -58,6 +59,8 @@ void HPGL_Poll(void) // Nothing received return; } + LED_On(LED_Pink); + LED_On(LED_Orange); char character = received; switch(state)