lpcmanager

Parents b7fd71c78140
Children 3f2d4d55f1c7
Retain memory: currently disabled, reverse this change when retain is implemented.
--- a/SOM6Target/plc_SOM6_main_retain.c Fri Aug 30 11:09:40 2019 +0200
+++ b/SOM6Target/plc_SOM6_main_retain.c Mon Sep 02 13:05:39 2019 +0200
@@ -205,7 +205,9 @@
// status = write(fd_spi, mbuf, ARRAY_SIZE(mbuf));
status = -EIO;
if (status < 0) {
- printf("Failed to change mode. ERR : %d\n", status);
+ printf("RETAIN : Failed to change mode. ERR : %d\n", status);
+ // TODO: remove this !!!
+ NVRAM_Done = 1;
return;
}
/* Read the whole NVRAM at start */