Propagating change of the return value of platform_getChannelSelector
This commit is contained in:
parent
e5c5ee90f2
commit
a2578ba42d
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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 };
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ float platform_getVolumeLevel()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
uint8_t platform_getChSelector()
|
int8_t platform_getChSelector()
|
||||||
{
|
{
|
||||||
return Radio_State.chSelector;
|
return Radio_State.chSelector;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue