Blynk library for embedded hardware. Works with Arduino, ESP8266, Raspberry Pi, Intel Edison/Galileo, LinkIt ONE, Particle Core/Photon, Energia, ARM mbed, etc. http://www.blynk.cc/

Dependents:   Blynk_RBL_BLE_Nano Blynk_MicroBit Blynk_Serial Blynk_RBL_BLE_Nano

utility/BlynkDebug.cpp

Committer:
vshymanskyy
Date:
2016-05-07
Revision:
0:58b20b438383
Child:
9:7369ec77a3ea

File content as of revision 0:58b20b438383:

/**
 * @file       BlynkDebug.cpp
 * @author     Volodymyr Shymanskyy
 * @license    This project is released under the MIT License (MIT)
 * @copyright  Copyright (c) 2015 Volodymyr Shymanskyy
 * @date       Jan 2015
 * @brief      Debug utilities for Arduino
 */

#include <Blynk/BlynkDebug.h>
#include "mbed.h"

size_t BlynkFreeRam()
{
    return 0;
}

void BlynkReset()
{
    for(;;); // To make compiler happy
}

void BlynkFatal()
{
    wait(10000L);
    BlynkReset();
}