AP_Notify: Remove pixhawk from Oreo LED comments

Removes specific reference to pixhawk from comments since not all flight controllers are pixhawks.
This commit is contained in:
Matt Lawrence 2020-01-20 20:10:12 -05:00 committed by Randy Mackay
parent d1feb93152
commit 5d3ed74a37

View File

@ -76,19 +76,19 @@ void OreoLED_I2C::update()
} }
if (mode_firmware_update()) { if (mode_firmware_update()) {
return; // don't go any further if the Pixhawk is in firmware update return; // don't go any further if in firmware update
} }
if (mode_init()) { if (mode_init()) {
return; // don't go any further if the Pixhawk is initializing return; // don't go any further if initializing
} }
if (mode_failsafe_radio()) { if (mode_failsafe_radio()) {
return; // don't go any further if the Pixhawk is is in radio failsafe return; // don't go any further if in radio failsafe
} }
if (mode_failsafe_gcs()) { if (mode_failsafe_gcs()) {
return; // don't go any further if the Pixhawk is is in gcs failsafe return; // don't go any further if in gcs failsafe
} }
set_standard_colors(); set_standard_colors();
@ -123,7 +123,7 @@ bool OreoLED_I2C::slow_counter()
} }
// Procedure for when Pixhawk is in FW update / bootloader // Procedure for when in FW update / bootloader
// Makes all LEDs go into color cycle mode // Makes all LEDs go into color cycle mode
// Returns true if firmware update in progress. False if not // Returns true if firmware update in progress. False if not
bool OreoLED_I2C::mode_firmware_update() bool OreoLED_I2C::mode_firmware_update()
@ -149,7 +149,7 @@ bool OreoLED_I2C::mode_init()
} }
// Procedure for when Pixhawk is in radio failsafe // Procedure for when in radio failsafe
// LEDs perform alternating Red X pattern // LEDs perform alternating Red X pattern
bool OreoLED_I2C::mode_failsafe_radio() bool OreoLED_I2C::mode_failsafe_radio()
{ {
@ -163,7 +163,7 @@ bool OreoLED_I2C::mode_failsafe_radio()
} }
// Procedure for when Pixhawk is in GCS failsafe // Procedure for when in GCS failsafe
// LEDs perform alternating yellow X pattern // LEDs perform alternating yellow X pattern
bool OreoLED_I2C::mode_failsafe_gcs() bool OreoLED_I2C::mode_failsafe_gcs()
{ {
@ -237,7 +237,7 @@ bool OreoLED_I2C::mode_failsafe_batt()
} }
// Procedure for when Pixhawk is in an autopilot mode // Procedure for when in an autopilot mode
// Makes all LEDs strobe super fast using standard colors // Makes all LEDs strobe super fast using standard colors
bool OreoLED_I2C::mode_auto_flight() bool OreoLED_I2C::mode_auto_flight()
{ {
@ -274,7 +274,7 @@ bool OreoLED_I2C::mode_auto_flight()
} }
// Procedure for when Pixhawk is in a pilot controlled mode // Procedure for when in a pilot controlled mode
// All LEDs use standard pattern and colors // All LEDs use standard pattern and colors
bool OreoLED_I2C::mode_pilot_flight() bool OreoLED_I2C::mode_pilot_flight()
{ {