Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ConfigFile SDFileSystem mbed
Fork of LAURUS_program by
ErrorLogger.cpp
- Committer:
- ojan
- Date:
- 2015-06-23
- Revision:
- 22:3caa2983bf1d
- Parent:
- 4:45dc5590abc0
File content as of revision 22:3caa2983bf1d:
#include "ErrorLogger.h"
void InitLogger(Serial* dp) {
if(debugPort == dp) return;
debugPort = dp;
}
void AbortWithMsg(const char* msg) {
while(!debugPort->writeable());
debugPort->printf(msg);
abort();
}
