This commit is contained in:
Matthew Kennedy 2023-03-27 23:08:05 -07:00
parent 85e61227ab
commit 0e1161b6d7
2 changed files with 3 additions and 4 deletions

View File

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

View File

@ -60,7 +60,7 @@ public:
} __attribute__((packed));
// pad to 256 bytes including tag
uint8_t pad[256 - 4];
uint8_t pad[256 - sizeof(Tag)];
};
};