Mercurial > public > hwos_code
diff src/ghostwriter.asm @ 535:cf68fe0c3002
NEW: Show a warning for each sensor if the sensor is end-of-life after calibration (Less then 8mV in Air at sea level)
author | heinrichsweikamp |
---|---|
date | Tue, 22 Aug 2017 13:23:52 +0200 |
parents | 06e9370c6d75 |
children | b7eb98dbd800 |
line wrap: on
line diff
--- a/src/ghostwriter.asm Mon Aug 21 15:11:06 2017 +0200 +++ b/src/ghostwriter.asm Tue Aug 22 13:23:52 2017 +0200 @@ -1032,6 +1032,11 @@ global do_logoffset_common_write do_logoffset_common_write: + ; TODO: limit [lo:hi] to 9999 ? may arrive here as >= 10000 because of +10 increment option + ; SIMPLER WAY: return without writing to eeprom if hi == 0x27 -> 0x2700 = 9984, this is within + ; the save range for a +10 increment, shall do it... + ; mH + movff lo,EEDATA write_int_eeprom 0x0D movff hi,EEDATA