10 lines
177 B
C
10 lines
177 B
C
|
#ifndef _COMMON_H_
|
||
|
#define _COMMON_H_
|
||
|
|
||
|
#include <portmacro.h>
|
||
|
|
||
|
#define TIME_MS(ms) ((ms) / portTICK_PERIOD_MS)
|
||
|
#define panic() { puts("\n\n*** PANIC! ***"); for (;;); }
|
||
|
|
||
|
#endif
|