diff options
author | Leo C | 2014-08-24 23:22:58 +0200 |
---|---|---|
committer | Leo C | 2014-08-24 23:22:58 +0200 |
commit | f14850dbf6369dc42df913c407bda51efb1c620c (patch) | |
tree | ac6a860b10132e7b48234834d7d48b39a2994ae3 /include | |
parent | 35e9ec0c03a150e3fe6a3350549573e4c02be67b (diff) | |
download | z180-stamp-f14850dbf6369dc42df913c407bda51efb1c620c.zip |
use env var 'baudrate'
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 3 | ||||
-rw-r--r-- | include/rtc.h | 1 | ||||
-rw-r--r-- | include/serial.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/config.h b/include/config.h index 287a0c5..396fd59 100644 --- a/include/config.h +++ b/include/config.h @@ -5,7 +5,8 @@ #define CONFIG_ENV_OFFSET 0 #define CONFIG_ENVVAR_MAX 20 -#define CONFIG_POWRON_DELAY 2000 /* ms to wait after power on */ +#define CONFIG_BAUDRATE 115200L +#define CONFIG_PWRON_DELAY 2000 /* ms to wait after power on */ #define CONFIG_BOOTDELAY 4 //#define CONFIG_ZERO_BOOTDELAY_CHECK 1 diff --git a/include/rtc.h b/include/rtc.h index 15215a9..51ee424 100644 --- a/include/rtc.h +++ b/include/rtc.h @@ -39,7 +39,6 @@ struct rtc_time { int rtc_get (struct rtc_time *); int rtc_set (struct rtc_time *); -void rtc_reset (void); void GregorianDay (struct rtc_time *); void to_tm (unsigned long, struct rtc_time *); diff --git a/include/serial.h b/include/serial.h index 7414ef1..40ac815 100644 --- a/include/serial.h +++ b/include/serial.h @@ -1,7 +1,7 @@ #ifndef SERIAL_H #define SERIAL_H -void serial_setup(void); +void serial_setup(unsigned long baud); void serial_putc(char); int serial_getc(void); uint_fast8_t serial_tstc(void); |