Skip to content

Commit 12d136b

Browse files
committed
Add rationale for adding the alias
1 parent 126b894 commit 12d136b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cores/arduino/Arduino.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ extern "C"{
7474

7575
#define interrupts() __enable_irq()
7676
#define noInterrupts() __disable_irq()
77+
78+
//Provide an alias for force-booting the M4 that is easy to remember
7779
#define bootM4() LL_RCC_ForceCM4Boot()
7880

7981
// We provide analogReadResolution and analogWriteResolution APIs

0 commit comments

Comments
 (0)