работа с регистрами перенесена в hal, новые функции типа inline

This commit is contained in:
klassents committed 2024-09-06 11:15:19 +07:00
1 parent 46f68aef2f
commit 670c48acab
5 files changed
+105 -66

No files matched your search

+1 -1
View File
@@ -106,7 +106,7 @@ inline void unblockSpiPin(void)
// I2C
#define PIN_WIRE_SDA (18)
#define PIN_WIRE_SCL (19)
#define I2C_NUM (1) // i2c number 0 or 1
#define I2C_NUM (1) // i2c number 1
static const uint8_t SDA = PIN_WIRE_SDA;
static const uint8_t SCL = PIN_WIRE_SCL;
// available frequencies