Skip to content

Commit f28efda

Browse files
committed
fix: compliation error
1 parent 7207501 commit f28efda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Camera/snapshot-camera/snapshot-camera.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ bool onSnapshot(const String &deviceId) {
8989
}
9090

9191
esp_camera_fb_return(fb);
92-
return result == 200;
92+
return responseCode == 200;
9393
}
9494

9595
bool onPowerState(const String &deviceId, bool &state) {

0 commit comments

Comments
 (0)