We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cd797e commit e358d9dCopy full SHA for e358d9d
m5stack/components/M5Unified/mpy_m5unified.cpp
@@ -40,11 +40,13 @@ extern "C"
40
41
typedef struct _machine_hw_i2c_obj_t {
42
mp_obj_base_t base;
43
+ i2c_port_t port : 8;
44
+ gpio_num_t scl : 8;
45
+ gpio_num_t sda : 8;
46
+ // Start of modification section, by M5Stack
47
uint8_t pos;
- i2c_port_t port;
- int8_t scl;
- int8_t sda;
48
uint32_t freq;
49
+ // End of modification section, by M5Stack
50
} machine_hw_i2c_obj_t;
51
52
static void m5_btns_callbacks_check(void);
0 commit comments