//-----------------------------------------------------------------------------
///
/// \brief  Implement systick
///
///         Systick is used as timebase for software timers.
///         There is a high speed timer and a low speed timer.
///
///         The low speed timer has an resolution of 1ms. It can be used for
///         things like PWM-fading, sound playback. It has an range of
///         around 50 days.
///
///         The resolution of the high speed timer if 0x10000 times of the low
///         speed timer (1ms); Thats around 15ns. It is mostly needed for
///         signal decoding.
///         It has an range of around 1 minute.
///
///
/// \date   20150122
/// \author Maximilian Seesslen <mes@seesslen.net>
///
//-----------------------------------------------------------------------------


//---Includes------------------------------------------------------------------


#include <lepto/lepto.h>
#include <biwak/dataEvent.h>


//---Implementation------------------------------------------------------------


#if IS_ENABLED( CONFIG_BIWAK_DATA_EVENT )

int biwakDataAvailable=0;

void dataAvailable()
{
   biwakDataAvailable++;
}

#else

void dataAvailable()
{
}

#endif


//---fin-----------------------------------------------------------------------
