]> git.earman.xyz Git - sensor-watch.git/commitdiff
rename test app to app.c for clarity
authorjoeycastillo <joeycastillo@utexas.edu>
Wed, 18 Sep 2024 16:52:30 +0000 (12:52 -0400)
committerjoeycastillo <joeycastillo@utexas.edu>
Wed, 18 Sep 2024 16:52:43 +0000 (12:52 -0400)
Makefile
app.c [new file with mode: 0644]
movement.c [deleted file]

index 901abaf74ad4d4441b942aed6ee16ab18b81d053..68a80fc151fb1fdb5237c6e673b799d3d865a23b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ endif
 
 # Add your source files here.
 SRCS += \
-  ./movement.c \
+  ./app.c \
 
 # Finally, leave this line at the bottom of the file.
 include $(GOSSAMER_PATH)/rules.mk
diff --git a/app.c b/app.c
new file mode 100644 (file)
index 0000000..231dccb
--- /dev/null
+++ b/app.c
@@ -0,0 +1,16 @@
+#include "app.h"
+#include "delay.h"
+
+void app_init(void) {
+}
+
+void app_setup(void) {
+    HAL_GPIO_GREEN_out();
+}
+
+bool app_loop(void) {
+    HAL_GPIO_GREEN_toggle();
+    delay_ms(500);
+
+    return false;
+}
\ No newline at end of file
diff --git a/movement.c b/movement.c
deleted file mode 100644 (file)
index 231dccb..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "app.h"
-#include "delay.h"
-
-void app_init(void) {
-}
-
-void app_setup(void) {
-    HAL_GPIO_GREEN_out();
-}
-
-bool app_loop(void) {
-    HAL_GPIO_GREEN_toggle();
-    delay_ms(500);
-
-    return false;
-}
\ No newline at end of file