Mercurial > public > hwos_code
comparison src/surfmode.asm @ 657:c2e97f94c55f default tip
bump to 10.93 / 3.32
| author | heinrichsweikamp |
|---|---|
| date | Tue, 27 Jan 2026 11:01:04 +0100 |
| parents | 8af5aefbcdaf |
| children |
comparison
equal
deleted
inserted
replaced
| 656:8af5aefbcdaf | 657:c2e97f94c55f |
|---|---|
| 112 call restart_set_modes_and_flags | 112 call restart_set_modes_and_flags |
| 113 | 113 |
| 114 bsf trigger_pres_cur_changed ; set flag to have pressure written to display on first round of surface loop | 114 bsf trigger_pres_cur_changed ; set flag to have pressure written to display on first round of surface loop |
| 115 bsf trigger_temp_changed ; set flag to have temperature written to display on first round of surface loop | 115 bsf trigger_temp_changed ; set flag to have temperature written to display on first round of surface loop |
| 116 | 116 |
| 117 call I2C_sleep_compass ; shut down compass | 117 ; call I2C_sleep_compass ; shut down compass |
| 118 call I2C_init_compass ; start compass | |
| 118 | 119 |
| 119 IFDEF _ccr_pscr | 120 IFDEF _ccr_pscr |
| 120 movlw surface_sp ; load default surface setpoint (in cbar) | 121 movlw surface_sp ; load default surface setpoint (in cbar) |
| 121 movff WREG,char_I_const_ppO2 ; store it as current setpoint | 122 movff WREG,char_I_const_ppO2 ; store it as current setpoint |
| 122 ENDIF | 123 ENDIF |
