Skip to content

Commit

Permalink
Merge pull request #120 from Tom-evnut/Update-Shutdown-Delay
Browse files Browse the repository at this point in the history
Fix GS450h temps
  • Loading branch information
damienmaguire authored Nov 12, 2024
2 parents e21c5b4 + 0d776fa commit 3355e90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GS450H.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,8 @@ void GS450HClass::Task1Ms()
dma_clear_interrupt_flags(DMA1, DMA_CHANNEL6, DMA_TCIF);
statusInv=1;
dc_bus_voltage=(((mth_data[82]|mth_data[83]<<8)-5)/2);
temp_inv_water=(mth_data[42]|mth_data[43]<<8);
temp_inv_inductor=(mth_data[86]|mth_data[87]<<8);
temp_inv_water=int8_t(mth_data[42]);
temp_inv_inductor=int8_t(mth_data[86]);
mg1_speed=mth_data[6]|mth_data[7]<<8;
mg2_speed=mth_data[31]|mth_data[32]<<8;
}
Expand Down

0 comments on commit 3355e90

Please sign in to comment.