From f5435d468df702c57af19c5dd380ab073d82f700 Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Wed, 18 Sep 2024 15:12:58 -0400 Subject: [PATCH] use #pragma once --- watch-library/shared/watch/watch_gpio.h | 6 +++--- watch-library/shared/watch/watch_tcc.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/watch-library/shared/watch/watch_gpio.h b/watch-library/shared/watch/watch_gpio.h index fc43642c..53f1d4dd 100644 --- a/watch-library/shared/watch/watch_gpio.h +++ b/watch-library/shared/watch/watch_gpio.h @@ -21,8 +21,9 @@ * 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 + +#pragma once + ////< @file watch_gpio.h #include "watch.h" @@ -73,4 +74,3 @@ void watch_disable_digital_output(const uint8_t pin); */ void watch_set_pin_level(const uint8_t pin, const bool level); /// @} -#endif diff --git a/watch-library/shared/watch/watch_tcc.h b/watch-library/shared/watch/watch_tcc.h index 0443b425..401a872e 100644 --- a/watch-library/shared/watch/watch_tcc.h +++ b/watch-library/shared/watch/watch_tcc.h @@ -21,8 +21,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef _WATCH_BUZZER_H_INCLUDED -#define _WATCH_BUZZER_H_INCLUDED + +#pragma once + ////< @file watch_buzzer.h #include "watch.h" @@ -258,4 +259,3 @@ void watch_set_led_yellow(void); void watch_set_led_off(void); /// @} -#endif