diff options
Diffstat (limited to 'inc/int/dcf77.h')
| -rwxr-xr-x | inc/int/dcf77.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/inc/int/dcf77.h b/inc/int/dcf77.h index e47ca4e..2d79cdd 100755 --- a/inc/int/dcf77.h +++ b/inc/int/dcf77.h | |||
| @@ -9,7 +9,6 @@ | |||
| 9 | */ | 9 | */ |
| 10 | #include <avr/io.h> | 10 | #include <avr/io.h> |
| 11 | #include <avr/interrupt.h> | 11 | #include <avr/interrupt.h> |
| 12 | |||
| 13 | #include <stdint.h> | 12 | #include <stdint.h> |
| 14 | 13 | ||
| 15 | #define INT0_CONTROL MCUCR | 14 | #define INT0_CONTROL MCUCR |
| @@ -26,14 +25,14 @@ | |||
| 26 | 25 | ||
| 27 | typedef struct | 26 | typedef struct |
| 28 | { | 27 | { |
| 29 | uint16_t h ; // hour | 28 | uint16_t h; // hour |
| 30 | uint16_t m ; // minute | 29 | uint16_t m; // minute |
| 31 | uint16_t s ; // second | 30 | uint16_t s; // second |
| 32 | uint16_t ms; // milli second | 31 | uint16_t ms; // milli second |
| 33 | uint8_t yy; // year | 32 | uint8_t yy; // year |
| 34 | uint8_t mm; // month | 33 | uint8_t mm; // month |
| 35 | uint8_t dd; // day | 34 | uint8_t dd; // day |
| 36 | uint8_t wd; // weekday | 35 | uint8_t wd; // weekday |
| 37 | } Time; | 36 | } Time; |
| 38 | 37 | ||
| 39 | typedef enum | 38 | typedef enum |
