Subversion Repositories HomeAutomation

Rev

Rev 1540 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1540 Rev 1543
Line 52... Line 52...
52
#define TRUE 1
52
#define TRUE 1
53
#define FALSE 0
53
#define FALSE 0
54
 
54
 
55
#define MAX(a,b) ((a)>(b) ? (a) : (b))
55
#define MAX(a,b) ((a)>(b) ? (a) : (b))
56
#define MIN(a,b) ((a)<(b) ? (a) : (b))
56
#define MIN(a,b) ((a)<(b) ? (a) : (b))
-
 
57
 
-
 
58
#if sns_inputAnalog0PullupPCA95xx==1 | sns_inputAnalog1PullupPCA95xx==1 | sns_inputAnalog2PullupPCA95xx==1 | sns_inputAnalog3PullupPCA95xx==1 | sns_inputAnalog0RefPCA95xx==1 | sns_inputAnalog1RefPCA95xx==1 | sns_inputAnalog2RefPCA95xx==1 | sns_inputAnalog3RefPCA95xx==1
-
 
59
#define sns_inputAnalog_ENABLE_PCA95xx 1
-
 
60
#else
-
 
61
#define sns_inputAnalog_ENABLE_PCA95xx 0
-
 
62
#endif
-
 
63
 
57
 
64
 
58
#endif // SNS_INPUTANALOG
65
#endif // SNS_INPUTANALOG