From 90af7c0f64007ee682a0e0bfc5bdd3a550409f69 Mon Sep 17 00:00:00 2001
From: Carlo Alessandro Nicolau <cnicolau@km3net.de>
Date: Thu, 18 Nov 2021 18:09:38 +0100
Subject: [PATCH] Remove blocking LED activity on error (helps in communicating
 with CLB).

---
 host/python/console/sendcommand.py | 2 +-
 micro/BPD-V01-FIRMWARE.X/errors.c  | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/host/python/console/sendcommand.py b/host/python/console/sendcommand.py
index 3e0ec66..308f79b 100755
--- a/host/python/console/sendcommand.py
+++ b/host/python/console/sendcommand.py
@@ -17,7 +17,7 @@ import serial
 
 
 ASK_CONFIRM = False
-SHOW_SENT_DATA = False
+SHOW_SENT_DATA = True
 SHOW_RECEIVED_DATA = False
 UART_DEV = '/dev/ttyUSB0'
 
diff --git a/micro/BPD-V01-FIRMWARE.X/errors.c b/micro/BPD-V01-FIRMWARE.X/errors.c
index c1b0afb..2dc44a4 100644
--- a/micro/BPD-V01-FIRMWARE.X/errors.c
+++ b/micro/BPD-V01-FIRMWARE.X/errors.c
@@ -19,6 +19,9 @@ void error_notify(err_t _err) {
     // notify one error (probably to remove on final version)
     errors_last_error = _err;
     
+    // TODO write better code...
+    return;
+    
     // Signal with some LED flashes
     // TODO COMMENT OUT error_notify
     INTERRUPT_GlobalInterruptDisable();
-- 
GitLab