mirror of https://github.com/ArduPilot/ardupilot
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()
|
||||
{
|
||||
// TODO get the relay status
|
||||
return false;
|
||||
return PORTL & B00000100;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue