#ifndef SPEC_H
#define SPEC_H
-#include <stdint.h>
-#include <stdbool.h>
-
-struct device_spec {
- bool have_led;
- bool have_aio;
- bool have_dio;
- uint8_t max_tasks;
- uint8_t max_sds;
-};
+#ifdef __cplusplus
+extern "C" {
+#endif
void spec_send(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif