comparison src/surfmode.asm @ 187:669b5d00706d

CHANGE: Longer timeout (4 min) for calibration menu Ignore 1,2mV noise for not-connected inputs
author heinrichsweikamp
date Sat, 25 Oct 2014 15:28:18 +0200
parents 683321c09cfa
children ebc28381f17d
comparison
equal deleted inserted replaced
186:a004b482604a 187:669b5d00706d
349 return 349 return
350 350
351 global timeout_surfmode 351 global timeout_surfmode
352 timeout_surfmode: 352 timeout_surfmode:
353 movlw timeout_surfacemode ; [s] 353 movlw timeout_surfacemode ; [s]
354 btfsc menu_show_sensors2 ; In the "Calibrate" menu?
355 movlw timeout_calibrate_menu ; [s]
354 global timeout_testmode 356 global timeout_testmode
355 timeout_testmode: 357 timeout_testmode:
356 incf timeout_counter2,F ; increase timeout counter 358 incf timeout_counter2,F ; increase timeout counter
357 cpfsgt timeout_counter2 ; Compare with timeout_counter2 359 cpfsgt timeout_counter2 ; Compare with timeout_counter2
358 return ; return, no timeout 360 return ; return, no timeout