ускорение работы digital функций

This commit is contained in:
klassents committed 2025-03-17 10:39:20 +07:00
1 parent 663ce5bf55
commit 6ced7bdad1
3 files changed
+24 -25

No files matched your search

+1 -1
View File
@@ -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)