mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-05 16:04:19 +01:00
get rid of board module, replace with system calls for hostname, board
and password. move boot (quirks) handlers to system as well
espurna::build { ... } namespace for our app const values
24 lines
382 B
C++
24 lines
382 B
C++
/*
|
|
|
|
LLMNR MODULE
|
|
|
|
Copyright (C) 2017-2019 by Xose Pérez <xose dot perez at gmail dot com>
|
|
|
|
*/
|
|
|
|
#include "espurna.h"
|
|
|
|
#if LLMNR_SUPPORT
|
|
|
|
#include <ESP8266LLMNR.h>
|
|
|
|
#include "llmnr.h"
|
|
|
|
void llmnrSetup() {
|
|
const auto hostname = systemHostname();
|
|
LLMNR.begin(hostname.c_str());
|
|
DEBUG_MSG_P(PSTR("[LLMNR] Configured for %s\n"), hostname.c_str());
|
|
}
|
|
|
|
#endif // LLMNR_SUPPORT
|