mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-09-02 10:53:01 +02:00
Added ISR fix
This commit is contained in:
@@ -142,6 +142,10 @@ namespace Pins {
|
|||||||
pinModeValue |= OUTPUT;
|
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
|
// 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...
|
// detail called external libraries of course...
|
||||||
if (_attributes.has(PinAttributes::PullUp) || value.has(PinAttributes::PullUp)) {
|
if (_attributes.has(PinAttributes::PullUp) || value.has(PinAttributes::PullUp)) {
|
||||||
|
Reference in New Issue
Block a user