File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 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)
5656 if (pin != (PinName )NC ) {
5757 peripheral = pinmap_find_peripheral (pin , map );
5858 }
59- // else error("pinmap not found for peripheral");
6059 return peripheral ;
6160}
6261
@@ -78,7 +77,6 @@ PinName pinmap_pin(void *peripheral, const PinMap *map)
7877 if (peripheral != NP ) {
7978 pin = pinmap_find_pin (peripheral , map );
8079 }
81- // else error("pinmap not found for pin");
8280 return pin ;
8381}
8482
@@ -100,7 +98,6 @@ uint32_t pinmap_function(PinName pin, const PinMap *map)
10098 if (pin != (PinName )NC ) {
10199 function = pinmap_find_function (pin , map );
102100 }
103- // else error("pinmap not found for function");
104101 return function ;
105102}
106103
@@ -134,7 +131,6 @@ void *pinmap_merge_peripheral(void *a, void *b)
134131 }
135132
136133 // mis-match error case
137- // error("pinmap mis-match");
138134 return NP ;
139135}
140136
You can’t perform that action at this time.
0 commit comments