Skip to content

Commit ccc1c78

Browse files
authored
delete reference to vApplicationMallocFailedHook()
Deleted redundant call to `vApplicationMallocFailedHook()`. As per [Richard's suggestion](vApplicationMallocFailedHook();).
1 parent 9e2a763 commit ccc1c78

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/variantHooks.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,7 @@ void initVariant(void)
5151
#endif
5252

5353
setup(); // the normal Arduino setup() function is run here.
54-
5554
vTaskStartScheduler(); // initialise and run the freeRTOS scheduler. Execution should never return here.
56-
57-
vApplicationMallocFailedHook(); // Probably we've failed trying to initialise heap for the scheduler. Let someone know.
5855
}
5956

6057

0 commit comments

Comments
 (0)