Silence bUpdateEEPROM unused warning in MK3 variant
This commit is contained in:
parent
30131c9ab5
commit
ec4c1be058
@ -233,6 +233,8 @@ void fsensor_init(void)
|
|||||||
bool fsensor_enable(bool bUpdateEEPROM)
|
bool fsensor_enable(bool bUpdateEEPROM)
|
||||||
{
|
{
|
||||||
#ifdef PAT9125
|
#ifdef PAT9125
|
||||||
|
(void)bUpdateEEPROM; // silence unused warning in this variant
|
||||||
|
|
||||||
if (mmu_enabled == false) { //filament sensor is pat9125, enable only if it is working
|
if (mmu_enabled == false) { //filament sensor is pat9125, enable only if it is working
|
||||||
uint8_t pat9125 = pat9125_init();
|
uint8_t pat9125 = pat9125_init();
|
||||||
printf_P(PSTR("PAT9125_init:%hhu\n"), pat9125);
|
printf_P(PSTR("PAT9125_init:%hhu\n"), pat9125);
|
||||||
|
Loading…
Reference in New Issue
Block a user