summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch_gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'watch-library/watch/watch_gpio.h')
-rw-r--r--watch-library/watch/watch_gpio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/watch-library/watch/watch_gpio.h b/watch-library/watch/watch_gpio.h
index 640686e0..fc43642c 100644
--- a/watch-library/watch/watch_gpio.h
+++ b/watch-library/watch/watch_gpio.h
@@ -21,8 +21,12 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
+#ifndef _WATCH_GPIO_H_INCLUDED
+#define _WATCH_GPIO_H_INCLUDED
////< @file watch_gpio.h
+#include "watch.h"
+
/** @addtogroup gpio Digital Input and Output
* @brief This section covers functions related to general-purpose input and output signals.
*/
@@ -69,3 +73,4 @@ void watch_disable_digital_output(const uint8_t pin);
*/
void watch_set_pin_level(const uint8_t pin, const bool level);
/// @}
+#endif