mirror of https://github.com/rusefi/wideband.git
cleanup
This commit is contained in:
parent
85e61227ab
commit
0e1161b6d7
|
@ -146,7 +146,7 @@ SensorType GetSensorType()
|
|||
return SensorType::LSU49;
|
||||
}
|
||||
|
||||
void SetupESRDriver(SensorType sensor)
|
||||
void SetupESRDriver(SensorType)
|
||||
{
|
||||
// NOP
|
||||
}
|
||||
|
@ -157,8 +157,7 @@ int GetESRSupplyR()
|
|||
return 22000;
|
||||
}
|
||||
|
||||
void ToggleESRDriver(SensorType sensor)
|
||||
void ToggleESRDriver(SensorType)
|
||||
{
|
||||
(void)sensor;
|
||||
palTogglePad(NERNST_49_ESR_DRIVER_PORT, NERNST_49_ESR_DRIVER_PIN);
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ public:
|
|||
} __attribute__((packed));
|
||||
|
||||
// pad to 256 bytes including tag
|
||||
uint8_t pad[256 - 4];
|
||||
uint8_t pad[256 - sizeof(Tag)];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue