aboutsummaryrefslogtreecommitdiff
path: root/libjaylink/libjaylink-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjaylink/libjaylink-internal.h')
-rw-r--r--libjaylink/libjaylink-internal.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libjaylink/libjaylink-internal.h b/libjaylink/libjaylink-internal.h
index 5da37dc..96a9a2a 100644
--- a/libjaylink/libjaylink-internal.h
+++ b/libjaylink/libjaylink-internal.h
@@ -51,9 +51,6 @@
/** Calculate the minimum of two numeric values. */
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
-/** Media Access Control (MAC) address length in bytes. */
-#define MAC_ADDRESS_LENGTH 6
-
struct jaylink_context {
/** libusb context. */
struct libusb_context *usb_ctx;
@@ -110,7 +107,7 @@ struct jaylink_device {
* This field is used for devices with host interface #JAYLINK_HIF_TCP
* only.
*/
- uint8_t mac_address[MAC_ADDRESS_LENGTH];
+ uint8_t mac_address[JAYLINK_MAC_ADDRESS_LENGTH];
/** Indicates whether the MAC address is available. */
bool has_mac_address;
/**