Skip to content

Commit

Permalink
Merge pull request #84 from Spooks4576/Development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
Spooks4576 authored Nov 15, 2024
2 parents 41443a3 + 49c5299 commit f1cafda
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/vendor/drivers/axp2101.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
#include <stdbool.h>

// I2C configuration
#ifdef I2C_NUM_1
#define I2C_MASTER_NUM I2C_NUM_1 // I2C port number
#else
#define I2C_MASTER_NUM I2C_NUM_0 // I2C port number
#ifdef CONFIG_IDF_TARGET_ESP32S3
#define I2C_MASTER_NUM (I2C_NUM_1) // I2C port number
#else
#define I2C_MASTER_NUM (I2C_NUM_0) // I2C port number
#endif
#define I2C_MASTER_SDA_IO 10 // SDA pin
#define I2C_MASTER_SCL_IO 11 // SCL pin
Expand Down

0 comments on commit f1cafda

Please sign in to comment.