From 1531f5d699444fde5e4df93563de8bb6d99d56b3 Mon Sep 17 00:00:00 2001 From: Afonso Oliveira Date: Mon, 12 Oct 2026 14:41:49 +0100 Subject: [PATCH] style(nuttx): write the Erbium fixed board ID as hex words astyle indents the character-shift initializer as a continuation; the same values as hex words with comments pass check_format. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Afonso Oliveira --- .../nuttx/src/px4/aifoundry/erbium/version/board_identity.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platforms/nuttx/src/px4/aifoundry/erbium/version/board_identity.c b/platforms/nuttx/src/px4/aifoundry/erbium/version/board_identity.c index 0661cbbfeb4..664db4cc6fb 100644 --- a/platforms/nuttx/src/px4/aifoundry/erbium/version/board_identity.c +++ b/platforms/nuttx/src/px4/aifoundry/erbium/version/board_identity.c @@ -13,9 +13,9 @@ */ static const uint32_t erbium_uuid[3] = { - 'E' << 0 | 'R' << 8 | 'B' << 16 | 'I' << 24, - 'U' << 0 | 'M' << 8 | 'M' << 16 | 'I' << 24, - 'N' << 0 | 'I' << 8 | 'O' << 16 | 'N' << 24 + 0x49425245, /* "ERBI", little-endian */ + 0x494d4d55, /* "UMMI" */ + 0x4e4f494e /* "NION" */ }; #define CPU_UUID_BYTE_FORMAT_ORDER {3, 2, 1, 0, 7, 6, 5, 4, 11, 10, 9, 8}