fix warnings in sensor source
This commit is contained in:
@@ -474,6 +474,8 @@ int ov2640_init(sensor_t *sensor)
|
||||
sensor->set_raw_gma = set_raw_gma_dsp;
|
||||
sensor->set_lenc = set_lenc_dsp;
|
||||
sensor->set_pre = set_pre_dsp;
|
||||
|
||||
ESP_LOGD(TAG, "OV2640 Attached");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -304,6 +304,8 @@ int ov7725_init(sensor_t *sensor)
|
||||
sensor->id.MIDL = SCCB_Read(sensor->slv_addr, REG_MIDL);
|
||||
sensor->id.PID = SCCB_Read(sensor->slv_addr, REG_PID);
|
||||
sensor->id.VER = SCCB_Read(sensor->slv_addr, REG_VER);
|
||||
|
||||
ESP_LOGD(TAG, "OV7725 Attached");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user