view src/mcp.asm @ 398:1f2e35f5a5aa

BUGFIX: Make sure SP1 is always selected on start in Auto-SP mode CHANGE: Show velocity from 5m/min or more (Ascend or descent) Work on new speed graph
author heinrichsweikamp
date Mon, 23 Nov 2015 16:13:25 +0100
parents 653a3ab08062
children ca4556fb60b9
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 "hwos.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