1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

removed duplicate inISR prototype

This commit is contained in:
Oleg Hahm 2014-02-15 18:49:27 +01:00
parent f481e4a5c5
commit 24f5ec929c
5 changed files with 5 additions and 10 deletions

View File

@ -27,6 +27,7 @@
#include "thread.h"
#include "lifo.h"
#include "mutex.h"
#include "irq.h"
#define ENABLE_DEBUG (0)
#include "debug.h"

View File

@ -52,8 +52,8 @@ unsigned enableIRQ(void);
void restoreIRQ(unsigned state);
/**
* @brief Checks if the mcu is currently processing an interrupt.
* @return true, if in interrupt service routine
* @brief Check whether called from interrupt service routine
* @return true, if in interrupt service routine, false if not
*/
int inISR(void);

View File

@ -75,14 +75,6 @@
#define PRIORITY_IDLE PRIORITY_MIN
#define PRIORITY_MAIN (PRIORITY_MIN - (SCHED_PRIO_LEVELS/2))
/**
* @brief Check whether called from interrupt service routine
*
* @return true if called from within interrupt
* @return false if not.
*/
int inISR(void);
#define LPM_PREVENT_SLEEP_UART BIT2
#define LPM_PREVENT_SLEEP_HWTIMER BIT1

View File

@ -28,6 +28,7 @@
#include "clist.h"
#include "bitarithm.h"
#include "thread.h"
#include "irq.h"
#if SCHEDSTATISTICS
#include "hwtimer.h"

View File

@ -23,6 +23,7 @@
#include "thread.h"
#include "kernel.h"
#include "irq.h"
#define ENABLE_DEBUG (0)
#include "debug.h"