dron0gus please help

This commit is contained in:
rusefillc 2021-01-09 15:31:09 -05:00
parent aaad4d758c
commit 9c12c4dd44
1 changed files with 3 additions and 0 deletions

View File

@ -122,7 +122,10 @@ int getPortPinIndex(ioportid_t port, ioportmask_t pin) {
ioportid_t getHwPort(const char *msg, brain_pin_e brainPin) {
if (!isBrainPinValid(brainPin)) {
/*
* https://github.com/dron0gus please help
firmwareError(CUSTOM_ERR_INVALID_PIN, "%s: Invalid brain_pin_e: %d", msg, brainPin);
*/
return GPIO_NULL;
}
return ports[(brainPin - GPIOA_0) / PORT_SIZE];