Browse Source

Silence bUpdateEEPROM unused warning in MK3 variant

Yuri D'Elia 3 years ago
parent
commit
ec4c1be058
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Firmware/fsensor.cpp

+ 2 - 0
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);