Fix a couple spelling errors.
This commit is contained in:
parent
b4d3699047
commit
a91e1cb682
@ -535,7 +535,7 @@ safe_mode_t samd21_init(void) {
|
|||||||
// On power on start or external reset, set _ezero to the canary word. If it
|
// On power on start or external reset, set _ezero to the canary word. If it
|
||||||
// gets killed, we boot in safe mode. _ezero is the boundary between statically
|
// gets killed, we boot in safe mode. _ezero is the boundary between statically
|
||||||
// allocated memory including the fixed MicroPython heap and the stack. If
|
// allocated memory including the fixed MicroPython heap and the stack. If
|
||||||
// either misbehaves, the canary will not be in tact after soft reset.
|
// either misbehaves, the canary will not be intact after soft reset.
|
||||||
#ifdef CIRCUITPY_CANARY_WORD
|
#ifdef CIRCUITPY_CANARY_WORD
|
||||||
if (PM->RCAUSE.bit.POR == 1 || PM->RCAUSE.bit.EXT == 1) {
|
if (PM->RCAUSE.bit.POR == 1 || PM->RCAUSE.bit.EXT == 1) {
|
||||||
_ezero = CIRCUITPY_CANARY_WORD;
|
_ezero = CIRCUITPY_CANARY_WORD;
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
//| :class:`RunMode` -- run state of the microcontroller
|
//| :class:`RunMode` -- run state of the microcontroller
|
||||||
//| =============================================================
|
//| =============================================================
|
||||||
//|
|
//|
|
||||||
//| .. class:: mcirocontroller.RunMode
|
//| .. class:: microcontroller.RunMode
|
||||||
//|
|
//|
|
||||||
//| Enum-like class to define the run mode of the microcontroller and
|
//| Enum-like class to define the run mode of the microcontroller and
|
||||||
//| CircuitPython.
|
//| CircuitPython.
|
||||||
|
Loading…
Reference in New Issue
Block a user