File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 2323 Bangle.js2: Fix issue when an onchange callback from E.showMenu submenu changes the menu immediately
2424 Bangle.js: Added 'bpmMin/bpmMax' and 'activity' to 'health' event and 'Bangle.getHealthStatus'
2525 Fix potential overflow of locks - favour small memory leak over accidental free if this ever happens (fix #2616)
26+ micro:bit2: Ensure we don't initialise the I2C1 peripheral (we use software I2C internally)
2627
2728 2v25 : ESP32C3: Get analogRead working correctly
2829 Graphics: Adjust image alignment when rotating images to avoid cropping (fix #2535)
Original file line number Diff line number Diff line change @@ -154,7 +154,9 @@ void jswrap_microbit_init() {
154154#endif
155155 i2cInfo .pinSCL = INTERNAL_I2C_SCL_PIN ;
156156 i2cInfo .pinSDA = INTERNAL_I2C_SDA_PIN ;
157+ #ifndef MICROBIT2
157158 jshI2CSetup (EV_I2C1 , & i2cInfo );
159+ #endif
158160
159161 unsigned char d [2 ];
160162#ifndef MICROBIT2
You can’t perform that action at this time.
0 commit comments