Made beep functions available also for other variants

Beep function "short" and "long" can be used also for other variants than TRASNPOTTER
This commit is contained in:
EmanuelFeru
2019-12-23 10:11:48 +01:00
parent f253e6e29a
commit 814af15adc
2 changed files with 62 additions and 63 deletions

View File

@@ -157,6 +157,10 @@ typedef struct {
uint16_t l_rx2;
} adc_buf_t;
// Define Beep functions
void longBeep(uint8_t freq);
void shortBeep(uint8_t freq);
// Define low-pass filter functions. Implementation is in main.c
void filtLowPass16(int16_t u, uint16_t coef, int16_t *y);
void filtLowPass32(int32_t u, uint16_t coef, int32_t *y);