chiark / gitweb /
Updates to the build process
[wiringPi.git] / wiringPi / wiringPi.h
index 2b3e2954988c37b0cc505a9d72abf39becc3ba49..dd110fa52ca08b40c3d42fe7e557341d2be2a35e 100644 (file)
@@ -76,6 +76,7 @@
 #define        PI_MODEL_BP             3
 #define        PI_MODEL_CM             4
 #define        PI_MODEL_AP             5
+#define        PI_MODEL_2              6
 
 #define        PI_VERSION_UNKNOWN      0
 #define        PI_VERSION_1            1
@@ -89,7 +90,7 @@
 #define        PI_MAKER_QISDA          3
 #define        PI_MAKER_MBEST          4
 
-extern const char *piModelNames    [6] ;
+extern const char *piModelNames    [7] ;
 extern const char *piRevisionNames [5] ;
 extern const char *piMakerNames    [5] ;
 
@@ -149,9 +150,6 @@ extern "C" {
 
 // Data
 
-//extern const char *piModelNames [] ;
-//extern const char *piRevisionNames[] ;
-
 // Internal
 
 extern int wiringPiFailure (int fatal, const char *message, ...) ;