aboutsummaryrefslogtreecommitdiffstats
path: root/ds3231.c
diff options
context:
space:
mode:
Diffstat (limited to 'ds3231.c')
-rwxr-xr-xds3231.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ds3231.c b/ds3231.c
index 53a944f..ae90d36 100755
--- a/ds3231.c
+++ b/ds3231.c
@@ -63,7 +63,7 @@ void Set_DayOfWeek() {
I2C_Master_Start(); // Start I2C
I2C_Master_Write(0xD0); // RTC Chip address
I2C_Master_Write(3); // send register address
- I2C_Master_Write(dayofweek); //update day of week
+ I2C_Master_Write(dayOfWeek); //update day of week
I2C_Master_Stop();
}