完善调试功能

This commit is contained in:
lxbpxylps@126.com 2021-03-01 21:09:21 +08:00
parent b800db5287
commit 8af854fbdf

View File

@ -173,6 +173,7 @@ void DebugCanNotContinue(char* message)
void setup()
{
#ifdef TAICHI_DEBUG
pinMode(DEBUG_PAUSE_PIN, INPUT_PULLUP);
attachInterrupt(DEBUG_PAUSE_INTERRUPTNUM, DebugPause, LOW);
Serial.begin(DEBUG_BAUT_RATE);
Serial.println("#TAICHI: ======================setup()=====================");