Skip to content

Commit ebb3f25

Browse files
committed
Reformat GD32 DMX source & update year
Apply extensive code style and formatting changes to GD32 DMX implementation: adjust brace placement, compress enums/structs to single-line forms, normalize spacing, and reformat IRQ/handler functions for consistency. Remove the "-fprefetch-loop-arrays" GCC pragma and update copyright year to 2026. Also minor whitespace/endif comment tweaks in dmxconst.h. These edits are intended to be non-functional refactors; no logic changes are expected, though removal of the pragma may affect compiler optimizations.
1 parent 9b9e4a5 commit ebb3f25

8 files changed

Lines changed: 670 additions & 984 deletions

File tree

lib-dmx/include/dmxconst.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ inline constexpr uint32_t kMabTimeMin = 12; ///
6060
inline constexpr uint32_t kMabTimeMax = 1000000; ///< 1s
6161
inline constexpr uint32_t kRefreshRateDefault = 40; ///< 40 Hz
6262
inline constexpr uint32_t kPeriodDefault = (1000000U / kRefreshRateDefault); ///< 25000 us
63-
inline constexpr uint32_t kBreakToBreakTimeMin = 1204; ///< us
63+
inline constexpr uint32_t kBreakToBreakTimeMin = 1204; ///< us
6464
} // namespace transmit
6565
} // namespace dmx
6666

67-
#endif // DMXCONST_H_
67+
#endif // DMXCONST_H_

0 commit comments

Comments
 (0)