glidernet / diy-tracker

Do-it-Yourself OGN Tracker software
GNU General Public License v3.0
27 stars 18 forks source link

Silence beeper on startup #8

Closed kedder closed 6 years ago

kedder commented 6 years ago

On my hardware this line causes device to emit loud sound out of the buzzer on startup until any other sound is played.

Not sure why this line is there, but we do TIM_OC4PolarityConfig(TIM4, TIM_OCPolarity_Low); in order to stop the sound in Beep() below, so setting polarity high in Beep_Configuration seems incorrect.