summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorOmar Magdy <omar.professional8777@gmail.com>2022-08-23 17:26:28 +0200
committerOmar Magdy <omar.professional8777@gmail.com>2022-08-23 17:26:28 +0200
commit8a5f32723ef73e25fd6a19d199e1f3f1f1ca7f94 (patch)
tree47b4bd0bd8682833a602d8f1ffee805231321b84 /main.c
parente304ce76cb2e66b3009cee4386d9de098e09ce94 (diff)
downloadTraffic-light-8a5f32723ef73e25fd6a19d199e1f3f1f1ca7f94.tar.xz
Traffic-light-8a5f32723ef73e25fd6a19d199e1f3f1f1ca7f94.zip
Removed color.h and color.c
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 2826b11..cf3c931 100644
--- a/main.c
+++ b/main.c
@@ -4,9 +4,9 @@ uint32_t period_1 = RED_PERIOD;
uint32_t period_2 = GREEN_PERIOD;
uint32_t period_3 = RED_PERIOD;
-Traffic tf1 = {RED, GPIO_PORTF_BASE, 1, 2, 3};
-Traffic tf2 = {YELLOW, GPIO_PORTA_BASE, 2, 3, 4};
-Traffic tf_ped = {RED, GPIO_PORTB_BASE, 5, 0, 1};
+Traffic tf1 = {RED , GPIO_PORTF_BASE, 1, 2, 3, 0};
+Traffic tf2 = {YELLOW, GPIO_PORTA_BASE, 2, 3, 4, 0};
+Traffic tf_ped = {RED , GPIO_PORTB_BASE, 5, 0, 1, 0};
void Switch_Handler() {