File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -115,11 +115,11 @@ int CLAppCam::loadPrefs() {
115115
116116 // process local settings
117117
118- json_obj_get_int (&jctx, " lamp" , &lampVal);
119- json_obj_get_int (&jctx, " frame_rate" , &frameRate);
120- json_obj_get_bool (&jctx, " autolamp" , &autoLamp);
121- json_obj_get_int (&jctx, " xclk" , &xclk);
122- json_obj_get_int (&jctx, " rotate" , &myRotation);
118+ json_obj_get_int (&jctx, ( char *) " lamp" , &lampVal);
119+ json_obj_get_int (&jctx, ( char *) " frame_rate" , &frameRate);
120+ json_obj_get_bool (&jctx, ( char *) " autolamp" , &autoLamp);
121+ json_obj_get_int (&jctx, ( char *) " xclk" , &xclk);
122+ json_obj_get_int (&jctx, ( char *) " rotate" , &myRotation);
123123
124124 // get sensor reference
125125 sensor_t * s = esp_camera_sensor_get ();
You can’t perform that action at this time.
0 commit comments