diff --git a/pigpio.c b/pigpio.c
index 15dab59..261e540 100644
--- a/pigpio.c
+++ b/pigpio.c
@@ -13521,7 +13521,7 @@ unsigned gpioHardwareRevision(void)
if ((rev & 0x800000) == 0) /* old rev code */
{
- if (rev < 16) /* all BCM2835 */
+ if (rev < 0x0016) /* all BCM2835 */
{
pi_ispi = 1;
piCores = 1;
diff --git a/pigpio.h b/pigpio.h
index 039a79f..5817460 100644
--- a/pigpio.h
+++ b/pigpio.h
@@ -30,7 +30,7 @@ For more information, please refer to
#include
#include
-#define PIGPIO_VERSION 7301
+#define PIGPIO_VERSION 7302
/*TEXT