diff --git a/poweriface/firmware/main.c b/poweriface/firmware/main.c index 3f180ec..6cdd2c3 100644 --- a/poweriface/firmware/main.c +++ b/poweriface/firmware/main.c @@ -1,4 +1,5 @@ #include +#include #include #include #include @@ -101,6 +102,8 @@ void strobe() { static void send_status() { // Bit-bang register contents in (also send out zeros, but don't strobe) uint16_t status = bang(0); + // Send the current state back out to prevent glitches + bang(status); if (can_check_free_buffer()) { can_t msg = {