samd: Corrected the DID family mask

This commit is contained in:
dragonmux 2022-08-05 00:54:40 +01:00 committed by Piotr Esden-Tempski
parent d9e14645da
commit 0be6c1bc72
1 changed files with 1 additions and 1 deletions

View File

@ -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 */