From 0be6c1bc7202f67b7a5c9b3f76ebac167e15d172 Mon Sep 17 00:00:00 2001 From: dragonmux Date: Fri, 5 Aug 2022 00:54:40 +0100 Subject: [PATCH] samd: Corrected the DID family mask --- src/target/samd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/samd.c b/src/target/samd.c index 45b313e..a0f2768 100644 --- a/src/target/samd.c +++ b/src/target/samd.c @@ -135,7 +135,7 @@ const struct command_s samd_cmd_list[] = { #define SAMD_DID_REVISION_POS 8 #define SAMD_DID_SERIES_MASK 0x1F #define SAMD_DID_SERIES_POS 16 -#define SAMD_DID_FAMILY_MASK 0x1F +#define SAMD_DID_FAMILY_MASK 0x3F #define SAMD_DID_FAMILY_POS 23 /* Peripheral ID */