You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
435 B
24 lines
435 B
9 years ago
|
#include <esp8266.h>
|
||
|
#include <httpd.h>
|
||
|
#include "fw_version.h"
|
||
|
#include "sbmp.h"
|
||
|
#include "datalink.h"
|
||
|
#include "serial.h"
|
||
|
|
||
|
|
||
|
/** "Home" page */
|
||
|
httpd_cgi_state FLASH_FN tplHome(HttpdConnData *connData, char *token, void **arg)
|
||
|
{
|
||
|
// arg is unused
|
||
|
(void)arg;
|
||
|
(void)connData;
|
||
|
|
||
|
if (token == NULL) return HTTPD_CGI_DONE;
|
||
|
|
||
|
// if (streq(token, "vers_fw")) {
|
||
|
// httpdSend(connData, FIRMWARE_VERSION, -1);
|
||
|
// }
|
||
|
|
||
|
return HTTPD_CGI_DONE;
|
||
|
}
|