aboutsummaryrefslogtreecommitdiff
path: root/keyboards/converter/xt_usb/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/converter/xt_usb/config.h')
-rw-r--r--keyboards/converter/xt_usb/config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/converter/xt_usb/config.h b/keyboards/converter/xt_usb/config.h
index 7d006b4116..a080698d87 100644
--- a/keyboards/converter/xt_usb/config.h
+++ b/keyboards/converter/xt_usb/config.h
@@ -34,10 +34,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* hard reset: low pulse for 500ms and after that HiZ for safety */
#define XT_RESET() do { \
- writePinLow(XT_RST_PIN); \
- setPinOutput(XT_RST_PIN); \
+ gpio_write_pin_low(XT_RST_PIN); \
+ gpio_set_pin_output(XT_RST_PIN); \
wait_ms(500); \
- setPinInput(XT_RST_PIN); \
+ gpio_set_pin_input(XT_RST_PIN); \
} while (0)
/* INT1 for falling edge of clock line */