diff code_part1/OSTC_code_asm_part1/customview.asm @ 674:3927bc5019c9

show some feedback if marker was set
author heinrichsweikamp
date Mon, 10 Dec 2012 16:55:18 +0100
parents 3282581fe178
children 6e456a6398e0
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/customview.asm	Mon Dec 10 16:12:22 2012 +0100
+++ b/code_part1/OSTC_code_asm_part1/customview.asm	Mon Dec 10 16:55:18 2012 +0100
@@ -279,6 +279,15 @@
     call        PLED_standard_color
 	DISPLAYTEXT d'151'				    ; Set Marker?
 	bsf			menu3_active            ; Set Flag
+
+    btfss       event_occured           ; Is an event active?
+    bra         customview_toggle_exit  ; No
+
+    movlw       d'6'                    ; Type of Alarm  (Manual Marker)
+	cpfseq      AlarmType               ; Marker recently set?
+    bra         customview_toggle_exit  ; No
+
+    call        PLED_marker_set         ; Show some feedback
 	bra		    customview_toggle_exit	
 
 customview_init_clock:					; Init Clock