add sp0a20 support (#2)

This commit is contained in:
divadiow
2025-10-09 21:47:38 +03:00
committed by GitHub
parent d96e703e90
commit c9225190f2
5 changed files with 785 additions and 6 deletions
+13 -6
View File
@@ -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