1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 12:04:19 +00:00

Add FastIO TOGGLE for ESP32 (#13574)

This commit is contained in:
Kajetan Rzepecki 2019-04-05 06:15:17 +02:00 committed by Scott Lahteine
parent 0992d1a4c8
commit 63d95862fa

View File

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