Propagating change of the return value of platform_getChannelSelector

This commit is contained in:
Silvano Seva 2021-04-03 09:28:27 +02:00
parent e5c5ee90f2
commit a2578ba42d
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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