File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 "m5stack/M5Utility" : " >=0.0.10" ,
1515 "m5stack/M5HAL" : " *"
1616 },
17- "version" : " 0.4.3 " ,
17+ "version" : " 0.4.4 " ,
1818 "frameworks" : [
1919 " arduino"
2020 ],
Original file line number Diff line number Diff line change 11name =M5UnitUnified
2- version =0.4.3
2+ version =0.4.4
33author =M5Stack
44maintainer =M5Stack
55sentence =M5UnitUnified is a library for unified handling of various M5 units products. (Alpha version)
Original file line number Diff line number Diff line change @@ -105,6 +105,10 @@ class AdapterI2C : public Adapter {
105105 {
106106 return nullptr ;
107107 }
108+ virtual m5::I2C_Class* getI2CClass ()
109+ {
110+ return nullptr ;
111+ }
108112
109113 protected:
110114 uint8_t _addr{};
@@ -222,6 +226,10 @@ class AdapterI2C : public Adapter {
222226 {
223227 return ImplType::I2CClass;
224228 }
229+ inline virtual m5::I2C_Class* getI2CClass () override
230+ {
231+ return _i2c;
232+ }
225233 inline virtual int16_t scl () const override
226234 {
227235 return _scl;
You can’t perform that action at this time.
0 commit comments