Auxilary scripts for formatting all components
All checks were successful
Build documentation / build-and-deploy (push) Successful in 44s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 44s
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include <stdint.h>
|
||||
#include <m/proc.h>
|
||||
#include <stdint.h>
|
||||
|
||||
extern volatile uint8_t __bss_start[];
|
||||
extern volatile uint8_t __bss_end[];
|
||||
@@ -7,7 +7,7 @@ extern volatile uint8_t __bss_end[];
|
||||
extern void app_main (void);
|
||||
|
||||
static void msl_clear_bss (void) {
|
||||
uint8_t *p = (uint8_t*)__bss_start;
|
||||
uint8_t* p = (uint8_t*)__bss_start;
|
||||
while (p < __bss_end) {
|
||||
*p++ = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user