More variant.h cleanup. LED_NOTIFICATION, remove dead code, etc (#9477)
This commit is contained in:
co-authored by
GitHub
parent
45fbc0f9d3
commit
dbded86dcb
@@ -15,6 +15,9 @@ build_flags =
|
||||
-DMESHTASTIC_EXCLUDE_AIR_QUALITY_SENSOR=1
|
||||
build_unflags =
|
||||
-DDEBUG_MUTE # We have space for debug output until sensor support is added
|
||||
build_src_filter =
|
||||
${stm32_base.build_src_filter}
|
||||
+<../variants/stm32/milesight_gs301>
|
||||
lib_deps =
|
||||
${stm32_base.lib_deps}
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#include "variant.h"
|
||||
#include "Arduino.h"
|
||||
|
||||
void earlyInitVariant()
|
||||
{
|
||||
pinMode(USER_LED, OUTPUT);
|
||||
digitalWrite(USER_LED, HIGH ^ LED_STATE_ON);
|
||||
}
|
||||
Reference in New Issue
Block a user