Browse Source

add missing return, and fix define to match function...

master
John-Mark Gurney 4 years ago
parent
commit
c32c276c7a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      CCDebugger.c

+ 2
- 1
CCDebugger.c View File

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


Loading…
Cancel
Save