]> git.sur5r.net Git - openocd/blobdiff - src/target/arm_adi_v5.h
arm_adi_v5: Convert the AP references from numbers to pointers
[openocd] / src / target / arm_adi_v5.h
index 85b622430c73643828142c6b3355ccef179dac8e..224cf712e47fb529c7d6703fb1ea4ab765a1766c 100644 (file)
@@ -480,7 +480,7 @@ int dap_get_debugbase(struct adiv5_dap *dap, int ap,
 /* Probe Access Ports to find a particular type */
 int dap_find_ap(struct adiv5_dap *dap,
                        enum ap_type type_to_find,
-                       uint8_t *ap_num_out);
+                       struct adiv5_ap **ap_out);
 
 /* Lookup CoreSight component */
 int dap_lookup_cs_component(struct adiv5_dap *dap, int ap,