mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-08-09 14:55:00 -06:00
Cleanup warnings
This commit is contained in:
parent
6904561fd5
commit
0cb00f52d9
22 changed files with 238 additions and 224 deletions
|
@ -115,7 +115,7 @@ void NVIC_SCBDeInit(void)
|
|||
SCB->SCR = 0x00000000;
|
||||
SCB->CCR = 0x00000000;
|
||||
|
||||
for (tmp = 0; tmp < 32; tmp++) {
|
||||
for (tmp = 0; tmp < (sizeof(SCB->SHP) / sizeof(SCB->SHP[0])); tmp++) {
|
||||
SCB->SHP[tmp] = 0x00;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue