Skip to content

Commit cc81618

Browse files
committed
WIP
1 parent d879b1c commit cc81618

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/screen/Sensors/Sensors.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,16 @@ const knownSensors = [
5454
id: 0x49,
5555
name: 'TSL2561',
5656
},
57+
{
58+
id: 0x22,
59+
name: 'GY-906',
60+
},
5761
];
5862

5963
const filterKnownSensors = (detectedSensors = []) => {
6064
// PSL always lists 0 and 96, regardless of whether a sensor is present
6165
const filtered = detectedSensors.filter(s => s !== 96 && s !== 0);
66+
console.info({ detected: filtered });
6267
return knownSensors.filter(k => filtered.includes(k.id));
6368
};
6469

0 commit comments

Comments
 (0)