From 035f41bdb43432dbff6981013c914f9e49ce9619 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Thu, 23 Dec 2021 19:15:17 +0000 Subject: [PATCH] Make the hw_addr 8 bytes long to that it can be read from as a 64-bit number. --- common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.h b/common.h index d9be0327..f4139e56 100644 --- a/common.h +++ b/common.h @@ -152,7 +152,7 @@ typedef struct { int mqtt_publish_cover; int mqtt_enable_remote; #endif - uint8_t hw_addr[6]; + uint8_t hw_addr[8]; // only needs 6 but 8 is handy when converting this to a number int port; int udp_port_base; int udp_port_range;