bosko lekovic
/
ETHtoCOM_10
nova verzija tcp+udp->serial com
Diff: clubbing.h
- Revision:
- 9:893843262a1f
- Parent:
- 5:c9a908749d4c
- Child:
- 19:7bdb1a10043f
diff -r c0f54b381346 -r 893843262a1f clubbing.h --- a/clubbing.h Sun Apr 19 22:13:45 2020 +0000 +++ b/clubbing.h Wed Apr 22 13:21:50 2020 +0000 @@ -3,6 +3,8 @@ typedef void(*PFV)(void); +#define IN_RANGE( MIN, a, MAX ) ((a >= MIN) ? (( a<=MAX) ? 1:0) : 0) + int test_num( const char *s ); int test_ip( const char *s );