forked from StopPointTeam/TaiChi
完善调试功能
This commit is contained in:
parent
b800db5287
commit
8af854fbdf
@ -173,6 +173,7 @@ void DebugCanNotContinue(char* message)
|
|||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
#ifdef TAICHI_DEBUG
|
#ifdef TAICHI_DEBUG
|
||||||
|
pinMode(DEBUG_PAUSE_PIN, INPUT_PULLUP);
|
||||||
attachInterrupt(DEBUG_PAUSE_INTERRUPTNUM, DebugPause, LOW);
|
attachInterrupt(DEBUG_PAUSE_INTERRUPTNUM, DebugPause, LOW);
|
||||||
Serial.begin(DEBUG_BAUT_RATE);
|
Serial.begin(DEBUG_BAUT_RATE);
|
||||||
Serial.println("#TAICHI: ======================setup()=====================");
|
Serial.println("#TAICHI: ======================setup()=====================");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user