diff --git a/lib/bus/drivewire/drivewire.cpp b/lib/bus/drivewire/drivewire.cpp index 8e07206ce..ff61ecfc7 100755 --- a/lib/bus/drivewire/drivewire.cpp +++ b/lib/bus/drivewire/drivewire.cpp @@ -198,6 +198,7 @@ int systemBus::op_readex(std::vector *q) { int result = 0; readexChecksum = 0; + readexError = 0; if (q->size() >= 5) { uint8_t drive_num = q->at(1); @@ -944,15 +945,10 @@ void systemBus::service() } int showDump = 1; - + #ifdef ESP_PLATFORM #else uint64_t ms = fnSystem.millis(); -#ifdef SUPER_DEBUGGING - if (ms % 100 == 0) { - Debug_printv("MS = %ld, lastInterruptMs = %ld, TIMER = %ld\n", ms, lastInterruptMs, (timerActive == true && ms - lastInterruptMs >= timerRate)); - } -#endif if (timerActive == true && ms - lastInterruptMs >= timerRate) { Debug_printv("State Reset Timer INVOKED!\n"); diff --git a/lib/device/drivewire/fuji.cpp b/lib/device/drivewire/fuji.cpp index 11268ab3c..23c169b81 100755 --- a/lib/device/drivewire/fuji.cpp +++ b/lib/device/drivewire/fuji.cpp @@ -231,7 +231,7 @@ int drivewireFuji::net_get_ssid(std::vector *q) memset(&cfg, 0, sizeof(cfg)); /* - We memcpy instead of strcpy because technically the SSID and phasephras aren't strings and aren't null terminated, + We memcpy instead of strcpy because technically the SSID and phasephrase aren't strings and aren't null terminated, they're arrays of bytes officially and can contain any byte value - including a zero - at any point in the array. However, we're not consistent about how we treat this in the different parts of the code. */