Propagating change of the return value of platform_getChannelSelector

replace/f9094343dfadc10b2d85406046217e98333eb4cf
Silvano Seva 2021-04-03 09:28:27 +02:00
rodzic e5c5ee90f2
commit a2578ba42d
4 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -139,7 +139,7 @@ float platform_getVolumeLevel()
return 0.0f;
}
uint8_t platform_getChSelector()
int8_t platform_getChSelector()
{
/* GD77 does not have a channel selector */
return 0;

Wyświetl plik

@ -138,7 +138,7 @@ float platform_getVolumeLevel()
return 0.0f;
}
uint8_t platform_getChSelector()
int8_t platform_getChSelector()
{
/* GD77 does not have a channel selector */
return 0;

Wyświetl plik

@ -131,7 +131,7 @@ float platform_getVolumeLevel()
return adc1_getMeasurement(3);
}
uint8_t platform_getChSelector()
int8_t platform_getChSelector()
{
static const uint8_t rsPositions[] = { 11, 14, 10, 15, 6, 3, 7, 2, 12, 13,
9, 16, 5, 4, 8, 1 };

Wyświetl plik

@ -62,7 +62,7 @@ float platform_getVolumeLevel()
}
uint8_t platform_getChSelector()
int8_t platform_getChSelector()
{
return Radio_State.chSelector;
}