Mercurial > public > hwos_code
comparison src/surfmode.asm @ 200:dcd513840c6c
cleanup
author | heinrichsweikamp |
---|---|
date | Wed, 12 Nov 2014 19:33:15 +0100 |
parents | e79bc535ef9e |
children | 93085f540746 |
comparison
equal
deleted
inserted
replaced
199:800f09c9089c | 200:dcd513840c6c |
---|---|
42 ;============================================================================= | 42 ;============================================================================= |
43 ; Boot tasks for all modes | 43 ; Boot tasks for all modes |
44 global surfloop | 44 global surfloop |
45 surfloop: | 45 surfloop: |
46 call speed_normal | 46 call speed_normal |
47 btfss c3_hardware | 47 btfss cr_hardware |
48 call piezo_config ; Configure buttons | 48 call piezo_config ; Configure buttons |
49 bcf no_sensor_int ; Normal pressure mode | 49 bcf no_sensor_int ; Normal pressure mode |
50 | 50 |
51 clrf CCP1CON ; stop PWM | 51 clrf CCP1CON ; stop PWM |
52 bcf PORTC,2 ; Pull PWM output to GND | 52 bcf PORTC,2 ; Pull PWM output to GND |