Browse Source

Implement relay get()

mission-4.1.18
Amilcar Lucas 14 years ago
parent
commit
9dca9816f8
  1. 3
      libraries/AP_Relay/AP_Relay.cpp

3
libraries/AP_Relay/AP_Relay.cpp

@ -41,6 +41,5 @@ void AP_Relay::set(bool status) @@ -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…
Cancel
Save