art103 / ar-t6

Re-write of er9x for the FS-T6 2.4GHz TX
GNU General Public License v2.0
19 stars 11 forks source link

check_switches implementation #15

Closed lospheris closed 8 years ago

lospheris commented 8 years ago

I have implemented and tested the check_switches() function. Also fixed a couple of typos I encountered along the way.

I put the function in the keypad.c file. It checks if any of the switches are up, if they are it displays a message, plays a tune, and uses a while loop to block startup.

There may be some style problems since I am pretty noobtastic but tried to stick to the style conventions I saw in the project already.

michkrom commented 8 years ago

Thanks, this is good! Sorry for sluggishness on my part I am a bit bogged down with that thing called life ;-)

lospheris commented 8 years ago

haha, I understand. Glad I could help.