mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-06 03:50:13 +02:00
Split webserver into separate files
This commit is contained in:
parent
581ca5d705
commit
0b0f66c94a
11 changed files with 438 additions and 410 deletions
16
Software/src/devboard/webserver/settings_html.h
Normal file
16
Software/src/devboard/webserver/settings_html.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#ifndef SETTINGS_H
|
||||
#define SETTINGS_H
|
||||
|
||||
#include "../../../USER_SETTINGS.h" // Needed for WiFi ssid and password
|
||||
extern uint16_t battery_voltage; //V+1, 0-500.0 (0-5000)
|
||||
|
||||
/**
|
||||
* @brief Replaces placeholder with content section in web page
|
||||
*
|
||||
* @param[in] var
|
||||
*
|
||||
* @return String
|
||||
*/
|
||||
String settings_processor(const String& var);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue