File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
shared-bindings/adafruit_pixelbuf Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -393,6 +393,11 @@ CFLAGS += -DCIRCUITPY_SETTABLE_PROCESSOR_FREQUENCY=$(CIRCUITPY_SETTABLE_PROCESSO
393
393
CIRCUITPY_SHARPDISPLAY ?= $(CIRCUITPY_FRAMEBUFFERIO )
394
394
CFLAGS += -DCIRCUITPY_SHARPDISPLAY=$(CIRCUITPY_SHARPDISPLAY )
395
395
396
+ # Disable the safe mode blink at boot. Speeds up boot time, but makes it
397
+ # impossible to enter safe mode by pressing buttons on boot.
398
+ CIRCUITPY_SKIP_SAFE_MODE_WAIT ?= 0
399
+ CFLAGS += -DCIRCUITPY_SKIP_SAFE_MODE_WAIT=$(CIRCUITPY_SKIP_SAFE_MODE_WAIT )
400
+
396
401
CIRCUITPY_SOCKETPOOL ?= $(CIRCUITPY_WIFI )
397
402
CFLAGS += -DCIRCUITPY_SOCKETPOOL=$(CIRCUITPY_SOCKETPOOL )
398
403
Original file line number Diff line number Diff line change 40
40
#include "shared-module/adafruit_pixelbuf/PixelBuf.h"
41
41
#include "shared-bindings/digitalio/DigitalInOut.h"
42
42
43
- #ifdef CIRCUITPY_ULAB
43
+ #if CIRCUITPY_ULAB
44
44
#include "extmod/ulab/code/ndarray.h"
45
45
#endif
46
46
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ safe_mode_t wait_for_safe_mode_reset(void) {
66
66
reset_reason != RESET_REASON_SOFTWARE ) {
67
67
return NO_SAFE_MODE ;
68
68
}
69
- #ifdef CIRCUITPY_SKIP_SAFE_MODE_WAIT
69
+ #if CIRCUITPY_SKIP_SAFE_MODE_WAIT
70
70
return NO_SAFE_MODE ;
71
71
#endif
72
72
port_set_saved_word (SAFE_MODE_DATA_GUARD | (MANUAL_SAFE_MODE << 8 ));
You can’t perform that action at this time.
0 commit comments