Skip to content

Commit

Permalink
Merge pull request pr3y#627 from rouing/cleanup-2
Browse files Browse the repository at this point in the history
Fix Smoochiee's board finally
  • Loading branch information
pr3y authored Dec 29, 2024
2 parents e96fb23 + 8096cca commit 63a1be3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions boards/pinouts/smoochiee-board.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ static const uint8_t G46 = 46;
static const uint8_t ADC1 = 7;
static const uint8_t ADC2 = 8;

#define SERIAL_RX 2
#define SERIAL_TX 1
#define BAD_RX SERIAL_RX
#define BAD_TX SERIAL_TX

#define BTN_ALIAS '"OK"'
#define SEL_BTN 0
#define UP_BTN 40
Expand Down
2 changes: 1 addition & 1 deletion boards/smoochiee-board.ini
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ build_flags =

lib_deps =
${env.lib_deps}
lewisxhe/XPowersLib @ ^0.2.4
lewisxhe/XPowersLib @0.2.6
8 changes: 4 additions & 4 deletions boards/smoochiee-board/interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
***************************************************************************************/


// Power handler for battery detection
#include <Wire.h>
#include <XPowersLib.h>
XPowersPPM PPM;
// Power handler for battery detection
#include <Wire.h>
#include <XPowersLib.h>
XPowersPPM PPM;


void _setup_gpio() {
Expand Down

0 comments on commit 63a1be3

Please sign in to comment.