chiark / gitweb /
Updates to the build process
[wiringPi.git] / wiringPi / wiringPi.h
index 2bc63ba0146c1837e2d0e791655d09bebcf9e1d4..dd110fa52ca08b40c3d42fe7e557341d2be2a35e 100644 (file)
@@ -75,6 +75,8 @@
 #define        PI_MODEL_B              2
 #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
 #define        PI_MAKER_EGOMAN         1
 #define        PI_MAKER_SONY           2
 #define        PI_MAKER_QISDA          3
+#define        PI_MAKER_MBEST          4
 
-extern const char *piModelNames    [5] ;
+extern const char *piModelNames    [7] ;
 extern const char *piRevisionNames [5] ;
-extern const char *piMakerNames    [4] ;
+extern const char *piMakerNames    [5] ;
 
 
 //     Intended for the GPIO program Use at your own risk.
@@ -147,9 +150,6 @@ extern "C" {
 
 // Data
 
-//extern const char *piModelNames [] ;
-//extern const char *piRevisionNames[] ;
-
 // Internal
 
 extern int wiringPiFailure (int fatal, const char *message, ...) ;