mirror of
https://github.com/esphome/esphome.git
synced 2025-01-03 11:21:43 +01:00
Allow 0xA8 ID for APDS9960 (#4287)
fixes https://github.com/esphome/issues/issues/736
This commit is contained in:
parent
11518364a1
commit
e35f90d6e4
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ void APDS9960::setup() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (id != 0xAB && id != 0x9C) { // APDS9960 all should have one of these IDs
|
if (id != 0xAB && id != 0x9C && id != 0xA8) { // APDS9960 all should have one of these IDs
|
||||||
this->error_code_ = WRONG_ID;
|
this->error_code_ = WRONG_ID;
|
||||||
this->mark_failed();
|
this->mark_failed();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue