Mercurial > templog
comparison main.c @ 105:2ba9065e7c4f
remove various unused files
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 07 Sep 2012 22:58:01 +0800 |
parents | bf707a3775d2 |
children | 5234ccc416e8 b0ec7b783c0b |
comparison
equal
deleted
inserted
replaced
104:7f3fc0980df1 | 105:2ba9065e7c4f |
---|---|
8 #include <avr/pgmspace.h> | 8 #include <avr/pgmspace.h> |
9 #include <avr/eeprom.h> | 9 #include <avr/eeprom.h> |
10 #include <avr/wdt.h> | 10 #include <avr/wdt.h> |
11 #include <util/atomic.h> | 11 #include <util/atomic.h> |
12 #include <util/crc16.h> | 12 #include <util/crc16.h> |
13 | |
14 // for DWORD of get_fattime() | |
15 #include "integer.h" | |
16 | 13 |
17 #include "simple_ds18b20.h" | 14 #include "simple_ds18b20.h" |
18 #include "onewire.h" | 15 #include "onewire.h" |
19 | 16 |
20 // configuration params | 17 // configuration params |
597 comms_count = 0; | 594 comms_count = 0; |
598 need_comms = 1; | 595 need_comms = 1; |
599 } | 596 } |
600 } | 597 } |
601 | 598 |
602 DWORD get_fattime (void) | |
603 { | |
604 return 0; | |
605 } | |
606 | |
607 static void | 599 static void |
608 deep_sleep() | 600 deep_sleep() |
609 { | 601 { |
610 // p119 of manual | 602 // p119 of manual |
611 OCR2A = SLEEP_COMPARE; | 603 OCR2A = SLEEP_COMPARE; |