Mercurial > public > hwos_code
comparison src/comm.asm @ 150:074b1a9ded7b
1.51beta start
| author | heinrichsweikamp |
|---|---|
| date | Wed, 13 Aug 2014 17:43:41 +0200 |
| parents | fdd4e30846ae |
| children | 5ee76921e359 |
comparison
equal
deleted
inserted
replaced
| 149:3ba51c6d6c0f | 150:074b1a9ded7b |
|---|---|
| 91 bcf onesecupdate | 91 bcf onesecupdate |
| 92 bcf LEDr | 92 bcf LEDr |
| 93 dcfsnz timeout_counter,F | 93 dcfsnz timeout_counter,F |
| 94 bra comm_service_exit ; Timeout -> Exit | 94 bra comm_service_exit ; Timeout -> Exit |
| 95 comm_mode2: | 95 comm_mode2: |
| 96 btfsc c3_hardware | |
| 97 bra comm_mode4 ; Skip | |
| 98 | |
| 96 call get_battery_voltage ; gets battery voltage | 99 call get_battery_voltage ; gets battery voltage |
| 97 movlw .3 | 100 movlw .3 |
| 98 cpfslt batt_voltage+1 ; Batt Voltage less then 3*256mV? | 101 cpfslt batt_voltage+1 ; Batt Voltage less then 3*256mV? |
| 99 bra comm_mode3 ; No | 102 bra comm_mode3 ; No |
| 100 ; Set flag | 103 ; Set flag |
