Mercurial > ~darius > hgwebdir.cgi > sprink
comparison water.h @ 5:951277329ee6
Use splitargv instead of rolling our own.
Fix WDT tripping continuously on self reset (disable WDT on startup).
Pretty up startup message.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Sun, 15 Feb 2015 16:16:54 +1030 |
parents | e75ecd162da3 |
children |
comparison
equal
deleted
inserted
replaced
4:1188042ddc2f | 5:951277329ee6 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2012 | 2 * Copyright (c) 2015 |
3 * Daniel O'Connor <darius@dons.net.au>. All rights reserved. | 3 * Daniel O'Connor <darius@dons.net.au>. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
24 * SUCH DAMAGE. | 24 * SUCH DAMAGE. |
25 */ | 25 */ |
26 | 26 |
27 void water_init(void); | 27 void water_init(void); |
28 void water_cmd(char *buf); | 28 void water_cmd(int argc, char **argv); |
29 void water_update(void); | 29 void water_update(void); |
30 | 30 |