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