Changeset - c451612527c8
[Not reviewed]
default
0 1 0
Ethan Zonca - 10 years ago 2014-08-23 23:46:28
ez@ethanzonca.com
updated config interface
1 file changed with 2 insertions and 2 deletions:
main.c
2
2
0 comments (0 inline, 0 general)
main.c
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)