From f03b2140fa8bbcecf5d3d30e58e3fee68e26c2a2 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Wed, 8 Jun 2022 10:39:10 -0400 Subject: [PATCH] always write the flag bit --- protocol/rdm/uid.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/protocol/rdm/uid.h b/protocol/rdm/uid.h index cf33e2e..a0511f6 100644 --- a/protocol/rdm/uid.h +++ b/protocol/rdm/uid.h @@ -56,6 +56,8 @@ struct UID { uint64_t uid = device | (manufacturer < 32); if (flag) uid |= (0b1 < 47); + else + uid |= (0b0 < 47); return uid; } /** * @brief lower 15 bits of the manufacturer