mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-08-19 09:27:17 +02:00
fix: remove duplicate docstrings from public functions in .c files
Public function docstrings belong exclusively in .h headers per coding convention. Only static helper functions and static variables retain docstrings in .c files. Removed 413 duplicate docstrings across 185 files (15 CBM + 15 C SDK projects). All 30 projects rebuild with zero errors.
This commit is contained in:
@@ -40,14 +40,6 @@ static void _default_handler(void)
|
||||
|
||||
typedef void (*vector_func_t)(void);
|
||||
|
||||
/**
|
||||
* @brief Vector table placed in .vectors section
|
||||
*
|
||||
* Entry 0: Initial SP
|
||||
* Entry 1: Reset handler
|
||||
* Entries 2-15: System exceptions (NMI, HardFault, etc.)
|
||||
* Entry 16: IRQ 0 = TIMER0_IRQ_0
|
||||
*/
|
||||
__attribute__((section(".vectors"), used))
|
||||
const void *_vectors[17] = {
|
||||
&_stack_top, // 0: Initial stack pointer
|
||||
|
||||
Reference in New Issue
Block a user