From df911e9e76bc0aac7e0aa6cd9144ab17c415e4c3 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 13 Sep 2023 08:19:46 +1000 Subject: [PATCH] AP_Notify: remove unused enumeration this was copied over into the OreoLED driver --- libraries/AP_Notify/AP_Notify.h | 7 ------- libraries/AP_Notify/OreoLED_I2C.h | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/libraries/AP_Notify/AP_Notify.h b/libraries/AP_Notify/AP_Notify.h index efd22ecaab..b71bcd4d20 100644 --- a/libraries/AP_Notify/AP_Notify.h +++ b/libraries/AP_Notify/AP_Notify.h @@ -51,13 +51,6 @@ public: return _singleton; } - // Oreo LED Themes - enum Oreo_LED_Theme { - OreoLED_Disabled = 0, // Disabled the OLED driver entirely - OreoLED_Aircraft = 1, // Standard aviation themed lighting - OreoLED_Automobile = 2, // Automobile themed lighting (white front, red back) - }; - enum Notify_LED_Type { Notify_LED_None = 0, // not enabled Notify_LED_Board = (1 << 0), // Built in board LED's diff --git a/libraries/AP_Notify/OreoLED_I2C.h b/libraries/AP_Notify/OreoLED_I2C.h index a30e5322a2..977fe53c58 100644 --- a/libraries/AP_Notify/OreoLED_I2C.h +++ b/libraries/AP_Notify/OreoLED_I2C.h @@ -136,7 +136,7 @@ private: OREOLED_MODE_RGB_EXTENDED, }; - // Oreo LED modes + // Oreo LED Themes enum Oreo_LED_Theme { OreoLED_Disabled = 0, OreoLED_Aircraft = 1,