File tree 1 file changed +0
-4
lines changed
1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ void *pinmap_peripheral(PinName pin, const PinMap *map)
56
56
if (pin != (PinName )NC ) {
57
57
peripheral = pinmap_find_peripheral (pin , map );
58
58
}
59
- // else error("pinmap not found for peripheral");
60
59
return peripheral ;
61
60
}
62
61
@@ -78,7 +77,6 @@ PinName pinmap_pin(void *peripheral, const PinMap *map)
78
77
if (peripheral != NP ) {
79
78
pin = pinmap_find_pin (peripheral , map );
80
79
}
81
- // else error("pinmap not found for pin");
82
80
return pin ;
83
81
}
84
82
@@ -100,7 +98,6 @@ uint32_t pinmap_function(PinName pin, const PinMap *map)
100
98
if (pin != (PinName )NC ) {
101
99
function = pinmap_find_function (pin , map );
102
100
}
103
- // else error("pinmap not found for function");
104
101
return function ;
105
102
}
106
103
@@ -134,7 +131,6 @@ void *pinmap_merge_peripheral(void *a, void *b)
134
131
}
135
132
136
133
// mis-match error case
137
- // error("pinmap mis-match");
138
134
return NP ;
139
135
}
140
136
You can’t perform that action at this time.
0 commit comments