MBjoern / arduino-ble-sensiscan

Library to get live values from Sensirion Gadgets using BLE on ESP32.
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

Fix overflow on getDeviceId #1

Closed psachs closed 2 years ago

psachs commented 2 years ago

sprintf will create a null-terminated string and therefore requires 6 characters and not 5.

MBjoern commented 2 years ago

Nice, thank you!