firmware/boolean.h

Go to the documentation of this file.
00001 #ifndef boolean_h
00002 #define boolean_h
00003 
00014 typedef enum E_Boolean {
00015     False = 0, 
00016     True = 1 
00017 } Boolean;
00018 
00024 static inline Boolean
00025 boolean (int condition)
00026 {
00027     if (condition) {
00028         return True;
00029     } else {
00030         return False;
00031     }
00032 }
00033 
00034 #endif

Generated on Mon Oct 2 19:31:17 2006 for USB-LED-Fader by  doxygen 1.4.7