Light LEDs on data reception

This commit is contained in:
fruchti 2021-04-05 15:22:11 +02:00
parent 6f6c9df74f
commit 5dfe848129

View file

@ -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)