aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/TempDataLogger/Lib/DS1307.h
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/TempDataLogger/Lib/DS1307.h')
-rw-r--r--Projects/TempDataLogger/Lib/DS1307.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Projects/TempDataLogger/Lib/DS1307.h b/Projects/TempDataLogger/Lib/DS1307.h
index 9b14ee467..58eac8e5c 100644
--- a/Projects/TempDataLogger/Lib/DS1307.h
+++ b/Projects/TempDataLogger/Lib/DS1307.h
@@ -23,7 +23,7 @@
unsigned int Sec : 4;
unsigned int TenSec : 3;
unsigned int CH : 1;
- };
+ } Fields;
uint8_t IntVal;
} Byte1;
@@ -35,7 +35,7 @@
unsigned int Min : 4;
unsigned int TenMin : 3;
unsigned int _RESERVED : 1;
- };
+ } Fields;
uint8_t IntVal;
} Byte2;
@@ -48,7 +48,7 @@
unsigned int TenHour : 2;
unsigned int TwelveHourMode : 1;
unsigned int _RESERVED : 1;
- };
+ } Fields;
uint8_t IntVal;
} Byte3;
@@ -63,7 +63,7 @@
unsigned int Day : 4;
unsigned int TenDay : 2;
unsigned int _RESERVED : 2;
- };
+ } Fields;
uint8_t IntVal;
} Byte1;
@@ -75,7 +75,7 @@
unsigned int Month : 4;
unsigned int TenMonth : 1;
unsigned int _RESERVED : 3;
- };
+ } Fields;
uint8_t IntVal;
} Byte2;
@@ -86,7 +86,7 @@
{
unsigned int Year : 4;
unsigned int TenYear : 4;
- };
+ } Fields;
uint8_t IntVal;
} Byte3;