add sp0a20 support (#2)
This commit is contained in:
@@ -145,6 +145,10 @@ static const _Sensor_Ident_ *devSensorInitTable[] = {
|
||||
&sp0828_init,
|
||||
#endif
|
||||
|
||||
#if DEV_SENSOR_SP0A20
|
||||
&sp0a20_init,
|
||||
#endif
|
||||
|
||||
NULL,
|
||||
};
|
||||
|
||||
@@ -250,6 +254,10 @@ static const _Sensor_Adpt_ *devSensorOPTable[] = {
|
||||
&sp0828_cmd,
|
||||
#endif
|
||||
|
||||
#if DEV_SENSOR_SP0A20
|
||||
&sp0a20_cmd,
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
// Keep same order as devSensorOPTable - helps ID which driver is used to init sensor
|
||||
@@ -354,6 +362,10 @@ static const char *devSensorNameTable[] = {
|
||||
#if DEV_SENSOR_SP0828
|
||||
"sp0828",
|
||||
#endif
|
||||
|
||||
#if DEV_SENSOR_SP0A20
|
||||
"sp0a20",
|
||||
#endif
|
||||
};
|
||||
|
||||
#if IPF_EN
|
||||
@@ -2035,9 +2047,4 @@ bool csi_open(){
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user