cleaned up issues with Daniel's code
There were a lot of style things and a misunderstanding of the protocol
between the cape and the BBB.
diff --git a/bbb_cape/src/bbb/gpios.h b/bbb_cape/src/bbb/gpios.h
index 1494da2..a377d68 100644
--- a/bbb_cape/src/bbb/gpios.h
+++ b/bbb_cape/src/bbb/gpios.h
@@ -1,8 +1,8 @@
#ifndef BBB_CAPE_SRC_BBB_CAPE_CONTROL_H_
#define BBB_CAPE_SRC_BBB_CAPE_CONTROL_H_
-#include <cstdint>
-#include <cstring>
+#include <stdint.h>
+#include <stdio.h>
// As it turns out, controlling the BBB's GPIO pins
// from C++ is kind of a pain. The purpose of this
@@ -35,6 +35,6 @@
int Read();
};
-} // bbb
+} // namespace bbb
#endif