clean up
This commit is contained in:
1 parent
a265ec7b81
commit
9a4d94f485
4 files changed
+9
-4
No files matched your search
@@ -56,6 +56,12 @@ extern uint32_t __StackLimit[];
|
||||
extern "C"
|
||||
{
|
||||
|
||||
void HardFault_Handler(void)
|
||||
{
|
||||
// reset on hardfault
|
||||
NVIC_SystemReset();
|
||||
}
|
||||
|
||||
int cprintf(const char * format, ...)
|
||||
{
|
||||
char buf[256];
|
||||
@@ -65,6 +71,8 @@ int cprintf(const char * format, ...)
|
||||
va_start(ap, format);
|
||||
|
||||
len = vsnprintf(buf, 256, format, ap);
|
||||
|
||||
// SEGGER_SYSVIEW_Print(buf);
|
||||
Serial.write(buf, len);
|
||||
|
||||
va_end(ap);
|
||||
|
||||
Reference in new issue
Block a user