mirror of
https://github.com/thelsing/knx.git
synced 2025-08-13 13:46:20 +02:00
Update knx-bme680.ino
This commit is contained in:
parent
960d48aab7
commit
2979fc7e58
@ -230,7 +230,7 @@ void loadBme680State(uint8_t* buffer, uint32_t* size)
|
||||
void saveBme680State(uint8_t* buffer, uint32_t* size)
|
||||
{
|
||||
// buffer gets freed inside knx object after saved
|
||||
buffer = new uint8[BSEC_MAX_STATE_BLOB_SIZE];
|
||||
buffer = new uint8_t[BSEC_MAX_STATE_BLOB_SIZE];
|
||||
*size = BSEC_MAX_STATE_BLOB_SIZE;
|
||||
iaqSensor.getState(buffer);
|
||||
checkIaqSensorStatus();
|
||||
|
Loading…
Reference in New Issue
Block a user