There was an error while loading. Please reload this page.
1 parent 0c84dd0 commit df68d70Copy full SHA for df68d70
include/DAP_config.h
@@ -561,7 +561,7 @@ Status LEDs. In detail the operation of Hardware I/O and LED pins are enabled an
561
- LED output pins are enabled and LEDs are turned off.
562
*/
563
__STATIC_INLINE void DAP_SETUP (void) {
564
- probe_gpio_init();
+// We synchronously setup probe IOs when the respective PIO program is loaded - not at start of day
565
566
#ifdef PROBE_DAP_CONNECTED_LED
567
gpio_init(PROBE_DAP_CONNECTED_LED);
src/probe.c
@@ -146,6 +146,7 @@ void probe_write_mode(void) {
146
147
void probe_init() {
148
if (!probe.initted) {
149
+ probe_gpio_init();
150
uint offset = pio_add_program(pio0, &probe_program);
151
probe.offset = offset;
152
0 commit comments