Mercurial > ~darius > hgwebdir.cgi > tempctrl
changeset 16:026dc24d85e0 AVR_1_3
Spell presence correctly.
author | darius |
---|---|
date | Sat, 17 Sep 2005 18:31:19 +0930 |
parents | 0940abdf2b9d |
children | a58b41b7d15c |
files | 1wire.c testavr.c |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/1wire.c Sat Sep 17 18:10:33 2005 +0930 +++ b/1wire.c Sat Sep 17 18:31:19 2005 +0930 @@ -197,7 +197,7 @@ * OWFirst/OWNext return.. * 1 when something is found, * 0 no more modules - * -1 if no presense pulse, + * -1 if no presence pulse, * -2 if bad CRC, * -3 if bad wiring. */
--- a/testavr.c Sat Sep 17 18:10:33 2005 +0930 +++ b/testavr.c Sat Sep 17 18:31:19 2005 +0930 @@ -127,9 +127,9 @@ uart_putsP(PSTR("Resetting... ")); if (OWTouchReset() == 1) - uart_putsP(PSTR("No presense pulse found\n\r")); + uart_putsP(PSTR("No presence pulse found\n\r")); else - uart_putsP(PSTR("Presense pulse found\n\r")); + uart_putsP(PSTR("Presence pulse found\n\r")); } else if (cmdbuf[0] == 'r' && cmdbuf[1] == 'e') { if (OWReadBit()) uart_putsP(PSTR("Read a 1\n\r")); @@ -263,11 +263,11 @@ do { switch (i) { case OW_BADWIRE: - uart_putsP(PSTR("Presense pulse, but no module found, bad module/cabling?\n\r")); + uart_putsP(PSTR("Presence pulse, but no module found, bad module/cabling?\n\r")); break; case OW_NOPRESENCE: - uart_putsP(PSTR("No presense pulse found\n\r")); + uart_putsP(PSTR("No presence pulse found\n\r")); break; case OW_BADCRC: