From d84f668d4d314171f60029fbafbc5e2fef6f01c6 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 3 Jan 2011 22:13:52 +0000 Subject: [PATCH] firmware: if we fire a point just before being turned off, still note that the point was fired, send 20, etc. --- detpic/points.asm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/detpic/points.asm b/detpic/points.asm index 8b34bd3..935dc67 100644 --- a/detpic/points.asm +++ b/detpic/points.asm @@ -296,14 +296,17 @@ cdu_tickdiv @ near_gots code ;-------------------- got_pointed @ - tst_f_ifnz cducharging - return ; presumably we just turned off - bt_f_if0 pointmsg, 7 bra pointed_butnot_firing clr_f pointmsg + + tst_f_ifnz cducharging + bra pointed_already_charging + ; we just turned off (and perhaps on again) call cdu_discharged +pointed_already_charging + mov_lw b'00100000' ; POINTED goto serial_addbyte -- 2.30.2