Mercurial > public > hwos_code
view src/mcp.asm @ 133:939f1e83c4c2
BUGFIX: Surface interval was not displayed correctly in some cases
NEW: Store tissue load, date and time, surface interval, desat. time and nofly time every hour and reload them after battery change
author | heinrichsweikamp |
---|---|
date | Mon, 14 Jul 2014 15:17:07 +0200 |
parents | 24b3fd59e61f |
children | 653a3ab08062 |
line wrap: on
line source
;============================================================================= ; ; File mcp.asm ; ; Basic routines for RX circuity ; ; Copyright (c) 2012, JD Gascuel, HeinrichsWeikamp, all right reserved. ;============================================================================= ; HISTORY ; 2012-08-12 : [mH] Creation #include "ostc3.inc" #include "wait.inc" mcp code global mcp_sleep mcp_sleep: bcf INTCON3,INT3IE ; Disable INT3 bcf mcp_power ; RX off btfsc mcp_power bra $-4 return END