Added to platform API a function which allows to query the PTT status
This commit is contained in:
parent
af2e4eb372
commit
8a3872e5f9
|
|
@ -73,6 +73,11 @@ float platform_getVolumeLevel();
|
||||||
*/
|
*/
|
||||||
uint8_t platform_getChSelector();
|
uint8_t platform_getChSelector();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function reads and returns the current PTT status.
|
||||||
|
*/
|
||||||
|
bool platform_getPttStatus();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function turns on the selected led.
|
* This function turns on the selected led.
|
||||||
* @param led: which led to control
|
* @param led: which led to control
|
||||||
|
|
|
||||||
|
|
@ -113,6 +113,11 @@ uint8_t platform_getChSelector()
|
||||||
return 0.0f;
|
return 0.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool platform_getPttStatus()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
void platform_ledOn(led_t led)
|
void platform_ledOn(led_t led)
|
||||||
{
|
{
|
||||||
switch(led)
|
switch(led)
|
||||||
|
|
|
||||||
|
|
@ -91,6 +91,11 @@ uint8_t platform_getChSelector()
|
||||||
return 0.0f;
|
return 0.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool platform_getPttStatus()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
void platform_ledOn(led_t led)
|
void platform_ledOn(led_t led)
|
||||||
{
|
{
|
||||||
switch(led)
|
switch(led)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue