MPU6050のサンプルプログラム2

Dependencies:   ConfigFile SDFileSystem mbed

Fork of LAURUS_program by LAURUS

ErrorLogger.cpp

Committer:
ojan
Date:
2015-05-15
Revision:
0:bc6f14fc60c7
Child:
4:45dc5590abc0

File content as of revision 0:bc6f14fc60c7:

#include "ErrorLogger.h"

void InitLogger(Serial* dp) {
    if(debugPort == dp) return;
    debugPort = dp;
}

void AbortWithMsg(const char* msg) {
    debugPort->printf(msg);
    abort();
}