From aaf8a9d50196f430ceb9e605e45589fb7548418f Mon Sep 17 00:00:00 2001 From: Marco Date: Fri, 27 May 2022 02:17:22 +0200 Subject: [PATCH] Remove printfs. --- src/pins.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/pins.c b/src/pins.c index aac042a..7bdd4ac 100644 --- a/src/pins.c +++ b/src/pins.c @@ -6,24 +6,14 @@ void setPin(volatile uint8_t *port, unsigned int pin) { *port |= (1 << pin); - printf("Port %d, Pin %d set\n\r", (int)port, pin); } void unsetPin(volatile uint8_t *port, unsigned int pin) { *port &= ~(1 << pin); - printf("Port %d, Pin %d unset\n\r", (int)port, pin); } void togglePin(volatile uint8_t *port, unsigned int pin) { *port ^= (1 << pin); - printf("Port %d, Pin %d toggled to ", (int)port, pin); - - if ((*port & (1 << pin)) > 0) - printf("on"); - else - printf("off"); - - printf("\n\r"); } \ No newline at end of file