mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-06-19 20:04:21 -04:00
2400 baud optimisations
This commit is contained in:
parent
532e440a3d
commit
07b589fe3f
6 changed files with 55 additions and 35 deletions
|
@ -601,8 +601,11 @@ void AFSK_adc_isr(Afsk *afsk, int8_t currentSample) {
|
|||
|
||||
}
|
||||
|
||||
uint8_t timed_functions_timer = 0;
|
||||
inline void timed_functions(void) {
|
||||
if (_clock % CLOCK_TICKS_PER_10_MS == 0) {
|
||||
timed_functions_timer++;
|
||||
if (timed_functions_timer >= CLOCK_TICKS_PER_10_MS) {
|
||||
timed_functions_timer = 0;
|
||||
sd_scheduler();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue