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

overcome a compiler issue (neg numbers in const tables) - strange problem

This commit is contained in:
OneOfEleven
2023-09-26 11:06:24 +01:00
parent 4428cdf372
commit 8acbfbc80d
5 changed files with 163 additions and 135 deletions

View File

@ -99,7 +99,7 @@ void create_gain_table(const char *filename)
const uint8_t pga_min = 0; // 0
const uint8_t lna_short_max = 3; // 3
const uint8_t lna_max = 5; // 5
const uint8_t lna_max = 7; // 5
const uint8_t mixer_max = 3; // 3
const uint8_t pga_max = 7; // 7