ускорение работы digital функций
This commit is contained in:
1 parent
663ce5bf55
commit
6ced7bdad1
3 files changed
+24
-25
No files matched your search
@@ -45,7 +45,7 @@ __attribute__((noinline, section(".ram_text"))) HAL_PinsTypeDef digitalPinToBitM
|
||||
if (digitalPinNumber >= PINS_COMMON_QTY)
|
||||
{
|
||||
ErrorMsgHandler("digitalPinToBitMask(): pin number exceeds the total number of pins");
|
||||
return NC;
|
||||
return NOT_A_PIN;
|
||||
}
|
||||
|
||||
if (digitalPinNumber >= P2_6)
|
||||
|
||||
Reference in new issue
Block a user