better method name

This commit is contained in:
rusefillc 2022-08-22 18:07:59 -04:00
parent dc86c76c9a
commit f9b50c2523
3 changed files with 3 additions and 3 deletions

View File

@ -808,7 +808,7 @@ void updateTunerStudioState() {
#if EFI_MAX_31855
for (int i = 0; i < EGT_CHANNEL_COUNT; i++)
tsOutputChannels->egt[i] = getEgtValue(i);
tsOutputChannels->egt[i] = getMax31855EgtValue(i);
#endif /* EFI_MAX_31855 */
#if EFI_IDLE_CONTROL

View File

@ -101,7 +101,7 @@ static uint32_t readEgtPacket(int egtChannel) {
#define GET_TEMPERATURE_C(x) (((x) >> 18) / 4)
uint16_t getEgtValue(int egtChannel) {
uint16_t getMax31855EgtValue(int egtChannel) {
uint32_t packet = readEgtPacket(egtChannel);
max_32855_code code = getResultCode(packet);
if (code != MC_OK) {

View File

@ -14,5 +14,5 @@
void initMax31855(spi_device_e device, egt_cs_array_t max31855_cs);
#endif /* HAL_USE_SPI */
uint16_t getEgtValue(int egtChannel);
uint16_t getMax31855EgtValue(int egtChannel);