diff src/surfmode.asm @ 352:5c6da9fa5cb0

add setpoint change to first sample in CCR mode
author heinrichsweikamp
date Tue, 28 Jul 2015 13:23:09 +0200
parents 653a3ab08062
children 043890f06bce
line wrap: on
line diff
--- a/src/surfmode.asm	Fri Jul 24 14:52:39 2015 +0200
+++ b/src/surfmode.asm	Tue Jul 28 13:23:09 2015 +0200
@@ -137,6 +137,8 @@
     movwf   TBLPTRU
     call    color_image
 
+    movlw   surface_sp                  ; in cbar
+    call    transmit_setpoint           ; Transmit current setpoint from WREG (in cbar) to external electronics
 	call	TFT_clock					; display time
     call    update_surfloop60
 	call	get_battery_voltage			; get battery voltage