From ec4c1be0582a3ba3a5109a3328c953d8a1847d67 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Fri, 29 Jan 2021 16:34:09 +0100 Subject: [PATCH] Silence bUpdateEEPROM unused warning in MK3 variant --- Firmware/fsensor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Firmware/fsensor.cpp b/Firmware/fsensor.cpp index 7c225bf2..4eac7bd0 100755 --- a/Firmware/fsensor.cpp +++ b/Firmware/fsensor.cpp @@ -233,6 +233,8 @@ void fsensor_init(void) bool fsensor_enable(bool bUpdateEEPROM) { #ifdef PAT9125 + (void)bUpdateEEPROM; // silence unused warning in this variant + if (mmu_enabled == false) { //filament sensor is pat9125, enable only if it is working uint8_t pat9125 = pat9125_init(); printf_P(PSTR("PAT9125_init:%hhu\n"), pat9125);