@@ -186,10 +186,10 @@ void update_temp() {
uint16_t temp_pre = SPI_I2S_ReceiveData(SPI2);
if(temp_pre & 0b0000000000000010) {
ssd1306_DrawString("Fatal Error", 3, 35);
ssd1306_DrawString("Fatal Error", 2, 35);
}
else if(temp_pre & 0b0000000000000001) {
ssd1306_DrawString("TC Fault", 3, 35);
ssd1306_DrawString("TC Fault", 2, 35);
uint8_t sign = temp >> 15;// top bit is sign
Status change: