Do some stuff
All checks were successful
Build Firmware / build (push) Successful in 27s

This commit is contained in:
2025-03-10 21:48:58 +01:00
parent 8dd68d74a6
commit 4fe99744e1
9 changed files with 71 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ static uint16_t gBK4819_GpioOutState;
bool gRxIdleMode;
__inline uint16_t scale_freq(const uint16_t freq)
__inline uint16_t scale_freq(uint16_t freq)
{
// return (((uint32_t)freq * 1032444u) + 50000u) / 100000u; // with rounding
return (((uint32_t)freq * 1353245u) + (1u << 16)) >> 17; // with rounding