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