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); }