summaryrefslogtreecommitdiff
path: root/globals.h
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>2000-01-01 00:34:23 +0900
committerroot <root@avtech.domain.avtechpulse.com>2000-01-01 00:34:23 +0900
commit4553ffb49fada86a35ec0160b42b3f91ecba9ad3 (patch)
tree27ad444fb254c91d3ecc5575feaffad3dd68126c /globals.h
parent2b052086ac0e27a19a69f136e320758da8fb0bea (diff)
add code to detect beaglebone vs olimex
Diffstat (limited to 'globals.h')
-rw-r--r--globals.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/globals.h b/globals.h
index fd8bb06..7ace680 100644
--- a/globals.h
+++ b/globals.h
@@ -5,6 +5,7 @@
#include <string.h>
#include <stdlib.h>
#include <glib.h>
+#include <stdbool.h>
#define DEBUG_ON - uncomment this to have debug messages
@@ -823,8 +824,9 @@ typedef struct {
typedef struct {
- int beaglebone;
- int gpib;
+ bool beaglebone;
+ bool olimex;
+ bool gpib;
} HWDetectStruct;