Lcd fix (I hope) #2211

there is still an issue :(
This commit is contained in:
rusefillc 2021-01-09 17:30:39 -05:00
parent 7803968621
commit 4f49c73a45
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];