Mercurial > public > hwos_code
diff src/start.asm @ 220:effd7259f5a5
make button sensitivity configurable (cR hardware)
author | heinrichsweikamp |
---|---|
date | Mon, 05 Jan 2015 14:41:23 +0100 |
parents | 8636efc5c6c5 |
children | 5a4801918be9 |
line wrap: on
line diff
--- a/src/start.asm Sun Jan 04 21:24:01 2015 +0100 +++ b/src/start.asm Mon Jan 05 14:41:23 2015 +0100 @@ -58,7 +58,6 @@ banksel common ; get_calibration_data uses isr_backup bcf no_sensor_int ; normal sensor interrupt mode - call piezo_config call TFT_DisplayOff ; display off bsf LEDr ; Status LED bcf pressure_refresh @@ -240,7 +239,9 @@ btfsc menubit ; Return from Menu/COMM mode or timeout? call option_save_all ; Yes, save all settings into EEPROM + call option_restore_all ; Restore everything from EEPROM call option_check_all ; Check all options (and reset if not within their min/max boundaries) + call option_save_all ; Save all settings into EEPROM after they have been checked clrf flag1 ; clear all flags clrf flag2