0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 22:58:04 +03:00

Fixed CTCSS int overflow bug

This commit is contained in:
OneOfEleven
2023-10-02 01:19:14 +01:00
parent aea80cb046
commit bbf8a7061e
5 changed files with 3 additions and 3 deletions

2
dcs.c
View File

@ -91,7 +91,7 @@ uint8_t DCS_GetCdcssCode(uint32_t Code)
return 0xFF;
}
uint8_t DCS_GetCtcssCode(uint16_t Code)
uint8_t DCS_GetCtcssCode(int Code)
{
unsigned int i;
uint8_t Result = 0xFF;