Skip to content

Commit

Permalink
Update bbn_m5atomS3_lite_DS18B20.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Nov 6, 2024
1 parent d534077 commit 0650914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbn_m5atomS3_lite_DS18B20/bbn_m5atomS3_lite_DS18B20.ino
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void byte_to_hex_ascii(unsigned char byte, char* hex_str) {
sprintf(hex_str, "%02X", byte);
}

void addressToStr(DeviceAddress deviceAddress, char str[9]) {
void addressToStr(DeviceAddress deviceAddress, char str[17]) {
for (uint8_t i = 0; i < 8; i++) {
char a[3];
byte_to_hex_ascii(deviceAddress[i], &a);
Expand Down

0 comments on commit 0650914

Please sign in to comment.