Silence bUpdateEEPROM unused warning in MK3 variant

This commit is contained in:
Yuri D'Elia 2021-01-29 16:34:09 +01:00 committed by DRracer
parent 30131c9ab5
commit ec4c1be058

View File

@ -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);