better method name
This commit is contained in:
parent
dc86c76c9a
commit
f9b50c2523
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue