Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong I2C number detection for ESP32C6 target #16

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

alexbegoon
Copy link

@alexbegoon alexbegoon commented Jan 2, 2025

Error:

.pio/libdeps/seeed-xiao-esp32c6/ESP8266 and ESP32 OLED driver for SSD1306 displays/src/AutoOLEDWire.h: In constructor 'AutoOLEDWire::AutoOLEDWire(uint8_t, int, int, OLEDDISPLAY_GEOMETRY, HW_I2C, int)':
.pio/libdeps/seeed-xiao-esp32c6/ESP8266 and ESP32 OLED driver for SSD1306 displays/src/AutoOLEDWire.h:98:51: error: 'Wire1' was not declared in this scope; did you mean 'Wire'?
   98 |       this->_wire = (_i2cBus==I2C_ONE) ? &Wire : &Wire1;
      |                                                   ^~~~~
      |                                                   Wire

Related to meshtastic/firmware#5421

@CLAassistant
Copy link

CLAassistant commented Jan 2, 2025

CLA assistant check
All committers have signed the CLA.

@caveman99 caveman99 merged commit 3e9fce8 into meshtastic:master Jan 3, 2025
7 checks passed
@alexbegoon alexbegoon deleted the fix_for_esp32c6 branch January 8, 2025 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants