From 06021825c8a55f5fbaa41023c0714a2e2709a6a3 Mon Sep 17 00:00:00 2001 From: uncrustify Date: Thu, 16 Aug 2012 23:21:08 -0700 Subject: [PATCH] uncrustify libraries/AP_Relay/AP_Relay.cpp --- libraries/AP_Relay/AP_Relay.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libraries/AP_Relay/AP_Relay.cpp b/libraries/AP_Relay/AP_Relay.cpp index 800e35ea71..b236bd886f 100644 --- a/libraries/AP_Relay/AP_Relay.cpp +++ b/libraries/AP_Relay/AP_Relay.cpp @@ -9,41 +9,41 @@ #include #if defined(ARDUINO) && ARDUINO >= 100 - #include "Arduino.h" + #include "Arduino.h" #else - #include "wiring.h" + #include "wiring.h" #endif #include "AP_Relay.h" void AP_Relay::on() { - PORTL |= B00000100; + PORTL |= B00000100; } void AP_Relay::off() { - PORTL &= ~B00000100; + PORTL &= ~B00000100; } void AP_Relay::toggle() { - PORTL ^= B00000100; + PORTL ^= B00000100; } void AP_Relay::set(bool status) { - if (status) - on(); - else - off(); + if (status) + on(); + else + off(); } bool AP_Relay::get() { - return PORTL & B00000100; + return PORTL & B00000100; }