All strange time constants are now frequency multipliers (#834)
This commit is contained in:
@@ -152,7 +152,7 @@ void subghz_test_carrier_enter(void* context) {
|
||||
|
||||
furi_hal_subghz_rx();
|
||||
|
||||
osTimerStart(subghz_test_carrier->timer, 1024 / 4);
|
||||
osTimerStart(subghz_test_carrier->timer, osKernelGetTickFreq() / 4);
|
||||
}
|
||||
|
||||
void subghz_test_carrier_exit(void* context) {
|
||||
|
@@ -198,7 +198,7 @@ void subghz_test_packet_enter(void* context) {
|
||||
|
||||
furi_hal_subghz_start_async_rx(subghz_test_packet_rx_callback, instance);
|
||||
|
||||
osTimerStart(instance->timer, 1024 / 4);
|
||||
osTimerStart(instance->timer, osKernelGetTickFreq() / 4);
|
||||
}
|
||||
|
||||
void subghz_test_packet_exit(void* context) {
|
||||
|
Reference in New Issue
Block a user