1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-09-01 18:32:37 +02:00

Added ISR fix

This commit is contained in:
Stefan de Bruijn
2020-11-07 20:43:43 +01:00
parent b0488c9446
commit c242b85fa8

View File

@@ -142,6 +142,10 @@ namespace Pins {
pinModeValue |= OUTPUT;
}
if (value.has(PinAttributes::ISR)) {
_attributes = _attributes | PinAttributes::ISR;
}
// PU/PD should be specified by the user. Code has nothing to do with it. Well except for this little
// detail called external libraries of course...
if (_attributes.has(PinAttributes::PullUp) || value.has(PinAttributes::PullUp)) {