Skip to content

Commit 8f4f21c

Browse files
CameraWebserver.ino (#8149)
Resolves deprecation warnings in CameraWebServer.ino. pin_sscb_sda -> pin_sccb_sda. pin_sscb_scl -> pin_sccb_scl. The variables are in the same union and are identical.
1 parent 2193d02 commit 8f4f21c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/ESP32/examples/Camera/CameraWebServer/CameraWebServer.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ void setup() {
6060
config.pin_pclk = PCLK_GPIO_NUM;
6161
config.pin_vsync = VSYNC_GPIO_NUM;
6262
config.pin_href = HREF_GPIO_NUM;
63-
config.pin_sscb_sda = SIOD_GPIO_NUM;
64-
config.pin_sscb_scl = SIOC_GPIO_NUM;
63+
config.pin_sccb_sda = SIOD_GPIO_NUM;
64+
config.pin_sccb_scl = SIOC_GPIO_NUM;
6565
config.pin_pwdn = PWDN_GPIO_NUM;
6666
config.pin_reset = RESET_GPIO_NUM;
6767
config.xclk_freq_hz = 20000000;

0 commit comments

Comments
 (0)