6 Commits

Author SHA1 Message Date
Proddy
930f0e615a Merge pull request #2921 from MichaelDvP/dev
set gpios when switching to custom board
2026-01-11 19:00:24 +01:00
MichaelDvP
4dbbdb3290 dangling Divider 2026-01-11 16:27:49 +01:00
MichaelDvP
8379b3f5aa Merge branch 'dev' of https://github.com/emsesp/EMS-ESP32 into dev 2026-01-11 16:26:00 +01:00
MichaelDvP
08124fa4db set gpio when switching to custom board 2026-01-11 16:25:42 +01:00
Proddy
39414db732 Merge pull request #2920 from proddy/dev
add SECURITY
2026-01-11 16:13:29 +01:00
proddy
da57a08005 add 2026-01-11 16:12:28 +01:00
3 changed files with 7 additions and 1 deletions

5
SECURITY.md Normal file
View File

@@ -0,0 +1,5 @@
# Security Policy
## Reporting a Vulnerability
Please report any security vulnerabilities using the [Contact Form](https://emsesp.org/About/#-contact).

View File

@@ -502,7 +502,7 @@ const ApplicationSettings = () => {
) : ( ) : (
boardProfileItems boardProfileItems
)} )}
<Divider /> {(data.board_profile === 'CUSTOM' || data.developer_mode) && <Divider />}
{(data.board_profile === 'CUSTOM' || data.developer_mode) && ( {(data.board_profile === 'CUSTOM' || data.developer_mode) && (
<MenuItem key={'CUSTOM'} value={'CUSTOM'}> <MenuItem key={'CUSTOM'} value={'CUSTOM'}>
{LL.CUSTOM()}&hellip; {LL.CUSTOM()}&hellip;

View File

@@ -436,6 +436,7 @@ void WebSettings::set_board_profile(WebSettings & settings) {
// as it's already set // as it's already set
if (settings.board_profile == "CUSTOM") { if (settings.board_profile == "CUSTOM") {
EMSESP::logger().info("Using CUSTOM board profile"); EMSESP::logger().info("Using CUSTOM board profile");
EMSESP::system_.set_valid_system_gpios();
return; return;
} }