Browse Source

Add FastIO TOGGLE for ESP32 (#13574)

pull/1/head
Kajetan Rzepecki 6 years ago
committed by Scott Lahteine
parent
commit
63d95862fa
  1. 3
      Marlin/src/HAL/HAL_ESP32/fastio_ESP32.h

3
Marlin/src/HAL/HAL_ESP32/fastio_ESP32.h

@ -64,6 +64,9 @@
#define PWM_PIN(P) true #define PWM_PIN(P) true
#define USEABLE_HARDWARE_PWM(P) PWM_PIN(P) #define USEABLE_HARDWARE_PWM(P) PWM_PIN(P)
// Toggle pin value
#define TOGGLE(IO) WRITE(IO, !READ(IO))
// //
// Ports and functions // Ports and functions
// //

Loading…
Cancel
Save