debugprobe icon indicating copy to clipboard operation
debugprobe copied to clipboard

probe.c only includes probe.pio.h, doesn't include define for _oen version

Open DangerousPrototypes opened this issue 1 year ago • 2 comments

probe.c only includes probe.pio.h only. It doesn't include defines two switch the probe_oen.pio.h version.

` #if defined(PROBE_IO_RAW) || defined(PROBE_IO_SWDI) #include "probe.pio.h" #endif

#if defined(PROBE_IO_OEN) #include "probe_oen.pio.h" #endif ` I added this.

DangerousPrototypes avatar Jan 31 '24 18:01 DangerousPrototypes

Would you like to create a PR?

lurch avatar Feb 01 '24 15:02 lurch

probe.c should include probe.h which already has the compile-time switches, and not the probe*pio.h file directly.

P33M avatar Feb 01 '24 15:02 P33M