//The function ds18b20_lua_readoutdone reads the temperature from the sensor(s) after a set amount of time depending on temperature resolution
//MY guess: If this timer manages to get suspended before it fires and the temperature data is time sensitive then resulting data would be invalid and should be discarded
switch(ds18b20_device_res){
case(9):
os_timer_arm(&ds18b20_timer,95,0);
...
...
@@ -203,58 +203,58 @@ static int ds18b20_read_device(uint8_t *ds18b20_device_rom) {