samd: Done a little reformatting of the defined constants

This commit is contained in:
dragonmux 2022-08-05 00:56:23 +01:00 committed by Piotr Esden-Tempski
parent 5ade9143a6
commit da2c4f24b0
1 changed files with 54 additions and 55 deletions

View File

@ -99,8 +99,7 @@ const struct command_s samd_cmd_list[] = {
#define SAMD_NVM_USER_ROW_LOW 0x00804000
#define SAMD_NVM_USER_ROW_HIGH 0x00804004
#define SAMD_NVM_CALIBRATION 0x00806020
#define SAMD_NVM_SERIAL(n) (0x0080A00C + (0x30 * (((n) + 3) / 4)) + \
((n) * 4))
#define SAMD_NVM_SERIAL(n) (0x0080A00C + (0x30 * (((n) + 3) / 4)) + ((n)*4))
/* -------------------------------------------------------------------------- */
/* Device Service Unit (DSU) Registers */