]> git.earman.xyz Git - sensor-watch.git/commitdiff
use #pragma once
authorjoeycastillo <joeycastillo@utexas.edu>
Wed, 18 Sep 2024 19:12:58 +0000 (15:12 -0400)
committerjoeycastillo <joeycastillo@utexas.edu>
Wed, 18 Sep 2024 19:12:58 +0000 (15:12 -0400)
watch-library/shared/watch/watch_gpio.h
watch-library/shared/watch/watch_tcc.h

index fc43642c4a43e6f0c2c69a5c3229c90e96a4a737..53f1d4dd49ad9a81b809f46dccd1b604010a42d9 100644 (file)
@@ -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
index 0443b425dd22b0104c50fa90779b400fdd29455b..401a872e699a22f40dbca1496aacf65344cb35f0 100644 (file)
@@ -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