mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
Implement relay get()
This commit is contained in:
parent
4b35757a1e
commit
c46fe580c2
@ -41,6 +41,5 @@ void AP_Relay::set(bool status)
|
|||||||
|
|
||||||
bool AP_Relay::get()
|
bool AP_Relay::get()
|
||||||
{
|
{
|
||||||
// TODO get the relay status
|
return PORTL & B00000100;
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user