Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30c6929e authored by Bosch Sensortec's avatar Bosch Sensortec Committed by Kevin Goveas
Browse files

Changed chipID

parent 42c462c0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -285,9 +285,7 @@ uint64_t get_current_timestamp(void)
/*! sensor support type map */
static const struct smi130_type_mapping_type sensor_type_map[] = {

	{SENSOR_CHIP_ID_SMI, SENSOR_CHIP_REV_ID_SMI, "SMI130/162AB"},
	{SENSOR_CHIP_ID_SMI_C2, SENSOR_CHIP_REV_ID_SMI, "SMI130C2"},
	{SENSOR_CHIP_ID_SMI_C3, SENSOR_CHIP_REV_ID_SMI, "SMI130C3"},
	{SENSOR_CHIP_ID_SMI, SENSOR_CHIP_REV_ID_SMI, "SMI130"},

};

+2 −3
Original line number Diff line number Diff line
@@ -60,9 +60,8 @@

/*#define SMI130_AKM09912_SUPPORT 1*/
#define SMI_USE_BASIC_I2C_FUNC 1
#define SENSOR_CHIP_ID_SMI (0xD0)
#define SENSOR_CHIP_ID_SMI_C2 (0xD1)
#define SENSOR_CHIP_ID_SMI_C3 (0xD3)
#define SENSOR_CHIP_ID_SMI (0xFA)


#define SENSOR_CHIP_REV_ID_SMI (0x00)