Skip to content

Commit

Permalink
config: pin_sscb_* => pin_sccb_*
Browse files Browse the repository at this point in the history
  • Loading branch information
yoursunny committed Jan 11, 2024
1 parent c651df8 commit 3fc245b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ISC License

Copyright (c) 2020-2023, Junxiao Shi
Copyright (c) 2020-2024, Junxiao Shi

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
Expand Down
2 changes: 1 addition & 1 deletion examples/WifiCam/WifiCam.ino
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ setup()
WiFi.mode(WIFI_STA);
WiFi.begin(WIFI_SSID, WIFI_PASS);
if (WiFi.waitForConnectResult() != WL_CONNECTED) {
Serial.println("WiFi failure");
Serial.printf("WiFi failure %d\n", WiFi.status());
delay(5000);
ESP.restart();
}
Expand Down
4 changes: 2 additions & 2 deletions src/internal/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ Config::setPins(const Pins& pins)
m_cfg->pin_pwdn = pins.PWDN;
m_cfg->pin_reset = pins.RESET;
m_cfg->pin_xclk = pins.XCLK;
m_cfg->pin_sscb_sda = pins.SDA;
m_cfg->pin_sscb_scl = pins.SCL;
m_cfg->pin_sccb_sda = pins.SDA;
m_cfg->pin_sccb_scl = pins.SCL;
m_cfg->pin_d7 = pins.D7;
m_cfg->pin_d6 = pins.D6;
m_cfg->pin_d5 = pins.D5;
Expand Down

0 comments on commit 3fc245b

Please sign in to comment.