diff options
author | William Harrington <kb0iic@berzerkula.org> | 2019-07-27 22:34:16 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2019-07-27 22:37:02 -0500 |
commit | 7d7c43b4c9993af3eb5e32b1ac9fcd83d37b6a6a (patch) | |
tree | 4fd6440a5ea0347960880ed98bc6e65649fe4fc3 /build/default/production/main.i | |
parent | e6bffe23c87a9f6de8abdec747600f674b9cab62 (diff) |
Refactor weekofday to weekOfDay
Diffstat (limited to 'build/default/production/main.i')
-rwxr-xr-x | build/default/production/main.i | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/default/production/main.i b/build/default/production/main.i index 94710f3..037b4d1 100755 --- a/build/default/production/main.i +++ b/build/default/production/main.i @@ -1842,7 +1842,7 @@ extern __bank0 __bit __timeout; unsigned int sec = 30; unsigned int min = 42; unsigned int hour = 21; -unsigned int dayofweek = 7; +unsigned int dayOfWeek = 7; unsigned int date = 27; unsigned int month = 7; unsigned int year = 19; @@ -2022,7 +2022,7 @@ int main() { - getWeekDay(dayofweek); + getWeekDay(dayOfWeek); if (sec_chg != sec) { @@ -2104,8 +2104,8 @@ void format_Temperature() { -void getWeekDay(unsigned int dayofweek) { - switch (dayofweek) { +void getWeekDay(unsigned int dayOfWeek) { + switch (dayOfWeek) { case 1: weekday = "Sun"; break; |