File tree 2 files changed +6
-0
lines changed
TESTS/mbed_hal_fpga_ci_test_shield
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,9 @@ void gpio_inout_test()
66
66
{
67
67
for (int i = 0 ; i < form_factor->count ; i++) {
68
68
const PinName test_pin = form_factor->pins [i];
69
+ if (test_pin == NC) {
70
+ continue ;
71
+ }
69
72
if (pinmap_list_has_pin (restricted, test_pin)) {
70
73
printf (" Skipping gpio pin %s (%i)\r\n " , pinmap_ff_default_pin_to_string (test_pin), test_pin);
71
74
continue ;
Original file line number Diff line number Diff line change @@ -248,6 +248,9 @@ void gpio_irq_test()
248
248
{
249
249
for (uint32_t i = 0 ; i < form_factor->count ; i++) {
250
250
const PinName test_pin = form_factor->pins [i];
251
+ if (test_pin == NC) {
252
+ continue ;
253
+ }
251
254
if (pinmap_list_has_pin (restricted, test_pin)) {
252
255
printf (" Skipping gpio pin %s (%i)\r\n " , pinmap_ff_default_pin_to_string (test_pin), test_pin);
253
256
continue ;
You can’t perform that action at this time.
0 commit comments