comparison src/isr.asm @ 565:0ba88db66492

CHANGE: Limit button sensitivity to 80%
author heinrichsweikamp
date Tue, 06 Feb 2018 10:07:38 +0100
parents b7eb98dbd800
children c8ea60294175
comparison
equal deleted inserted replaced
564:54346c651b6a 565:0ba88db66492
358 btfss analog_o2_input 358 btfss analog_o2_input
359 bra isr_tmr7_1a ; Always with normal ostc3 hardware 359 bra isr_tmr7_1a ; Always with normal ostc3 hardware
360 btfss s8_digital 360 btfss s8_digital
361 bra isr_tmr7_2 ; only when digital 361 bra isr_tmr7_2 ; only when digital
362 isr_tmr7_1a: 362 isr_tmr7_1a:
363 clrf o2_mv_sensor1+0 363 clrf o2_mv_sensor1+0 ; S8/IR timeout clears all analog input readings to zero -> Fallback will be triggered when sensor mode was used
364 clrf o2_mv_sensor1+1 364 clrf o2_mv_sensor1+1
365 clrf o2_mv_sensor2+0 365 clrf o2_mv_sensor2+0
366 clrf o2_mv_sensor2+1 366 clrf o2_mv_sensor2+1
367 clrf o2_mv_sensor3+0 367 clrf o2_mv_sensor3+0
368 clrf o2_mv_sensor3+1 368 clrf o2_mv_sensor3+1
369 banksel hud_battery_mv 369 banksel hud_battery_mv
370 clrf hud_battery_mv+0 370 clrf hud_battery_mv+0
371 clrf hud_battery_mv+1 371 clrf hud_battery_mv+1
372 banksel hud_status_byte 372 banksel hud_status_byte
373 clrf hud_status_byte 373 clrf hud_status_byte
374 clrf o2_ppo2_sensor1 374 clrf o2_ppo2_sensor1 ; For IR/S8 HUD
375 clrf o2_ppo2_sensor2 375 clrf o2_ppo2_sensor2
376 clrf o2_ppo2_sensor3 376 clrf o2_ppo2_sensor3
377 377
378 isr_tmr7_2: 378 isr_tmr7_2:
379 banksel common 379 banksel common