From c32c276c7aa205f484a45d6ded62a39fcbadcce2 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Thu, 27 Aug 2020 00:34:19 +0000 Subject: [PATCH] add missing return, and fix define to match function... --- CCDebugger.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CCDebugger.c b/CCDebugger.c index 536bfa4..12ebed2 100644 --- a/CCDebugger.c +++ b/CCDebugger.c @@ -111,6 +111,7 @@ int cc_init( int pRST, int pDC, int pDD ) // We are active by default cc_active = true; + return 1; }; /** @@ -417,7 +418,7 @@ void cc_reset() pinMode(pinDD, INPUT); pinMode(pinRST, OUTPUT); cc_delay(200); - pinMode(pinRST, LOW); + pinMode(pinRST, INPUT); cc_delay(500); pinMode(pinRST, INPUT); }