add ThinkNode M2 Support (#6354)
* [WIP] Base firmware pending support for 2nd button * Update button behaviour. Still WIP * [WIP] Base firmware pending support for 2nd button * Update button behaviour. Still WIP * change env to lowercase Co-authored-by: rcarteraz <robert.l.carter2@gmail.com> * yea - well - what else is new? * fix secondary button behavior and update trunk --------- Co-authored-by: rcarteraz <robert.l.carter2@gmail.com>
This commit is contained in:
1 parent
89cde1a8e6
commit
6c7c0770f9
14 files changed
+201
-12
No files matched your search
+6
-1
@@ -262,7 +262,12 @@ void printInfo()
|
||||
#ifndef PIO_UNIT_TESTING
|
||||
void setup()
|
||||
{
|
||||
// power on peripherals
|
||||
|
||||
#ifdef POWER_CHRG
|
||||
pinMode(POWER_CHRG, OUTPUT);
|
||||
digitalWrite(POWER_CHRG, HIGH);
|
||||
#endif
|
||||
|
||||
#if defined(PIN_POWER_EN)
|
||||
pinMode(PIN_POWER_EN, OUTPUT);
|
||||
digitalWrite(PIN_POWER_EN, HIGH);
|
||||
|
||||
Reference in new issue
Block a user