diff options
| author | Omar Magdy <omar.professional8777@gmail.com> | 2022-08-23 21:30:26 +0200 |
|---|---|---|
| committer | Omar Magdy <omar.professional8777@gmail.com> | 2022-08-23 21:30:26 +0200 |
| commit | 547093d69d001fc6bf90778acc479316149a6fd1 (patch) | |
| tree | b9f213a23b04802cb0ffbe701506073e1a2359ac /main.c | |
| parent | eac8a1b2ee3761ed3107587b36c10c1e26f9d59f (diff) | |
| download | Traffic-light-547093d69d001fc6bf90778acc479316149a6fd1.tar.xz Traffic-light-547093d69d001fc6bf90778acc479316149a6fd1.zip | |
Removed prevPeriod from Traffic struct
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,9 +6,9 @@ uint32_t period_3 = RED_PERIOD; bool switch_pressed = false;
-Traffic tf1 = {YELLOW, GPIO_PORTA_BASE, 2, 3, 4, 0};
-Traffic tf2 = {RED , GPIO_PORTF_BASE, 1, 2, 3, 0};
-Traffic tf_ped = {RED , GPIO_PORTB_BASE, 5, 4, 1, 0};
+Traffic tf1 = {YELLOW, GPIO_PORTA_BASE, 2, 3, 4};
+Traffic tf2 = {RED , GPIO_PORTF_BASE, 1, 2, 3};
+Traffic tf_ped = {RED , GPIO_PORTB_BASE, 5, 4, 1};
int main()
{
|
