atmega128rfa1 ajax power and sensor reporting, longint calculation bugfixes.

This commit is contained in:
David Kopf 2011-11-08 12:14:31 -05:00
parent 5281e7c59c
commit 9587b39707
3 changed files with 192 additions and 53 deletions

View file

@ -151,10 +151,14 @@ extern char httpd_query[WEBSERVER_CONF_PASSQUERY];
/* Address printing used by cgi's and logging, but it can be turned off if desired */
#if WEBSERVER_CONF_LOG || WEBSERVER_CONF_ADDRESSES || WEBSERVER_CONF_NEIGHBORS || WEBSERVER_CONF_ROUTES
extern uip_ds6_netif_t uip_ds6_if;
#define WEBSERVER_CONF_PRINTADDR 1
uint8_t httpd_cgi_sprint_ip6(uip_ip6addr_t addr, char * result);
#endif
#if WEBSERVER_CONF_PRINTADDR
uint8_t httpd_cgi_sprint_ip6(uip_ip6addr_t addr, char * result);
#else
#define httpd_cgi_sprint_ip6(...) 0
#endif
#include "contiki-net.h"
#include "httpd-fs.h"