mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 02:39:57 +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
17
Software/src/devboard/webserver/events_html.h
Normal file
17
Software/src/devboard/webserver/events_html.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#ifndef EVENTS_H
|
||||
#define EVENTS_H
|
||||
|
||||
#include "../utils/events.h"
|
||||
|
||||
extern EVENTS_STRUCT_TYPE entries[EVENT_NOF_EVENTS];
|
||||
|
||||
/**
|
||||
* @brief Replaces placeholder with content section in web page
|
||||
*
|
||||
* @param[in] var
|
||||
*
|
||||
* @return String
|
||||
*/
|
||||
String events_processor(const String& var);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue