@ -21,9 +21,12 @@ void WEB::begin(void) {
// server.streamFile(html_handler, "text/html");
// html_handler.close();
String index_html_str = header_html_str + " <b>SimpleRX v " + String ( VERSION_MAJOR ) + " . " + String ( VERSION_MINOR ) + String ( VERSION_BUILD ) + " \n \n [ MAIN ] \n </b><hr>CPU: " + String ( ESP . getCpuFreqMHz ( ) ) + " MHz \n " ;
index_html_str = index_html_str + " NRF Channel: " + String ( rx . getChannel ( ) ) ;
index_html_str = index_html_str + " NRF Channel: " + String ( rx . getChannel ( ) ) + " \n " ;
index_html_str = index_html_str + " Packets: " + String ( nrf_packets_received ) + " \n " ;
index_html_str = index_html_str + " SBUS(FAST): " + String ( sbus_packets_sent ) + " \n " ;
index_html_str = index_html_str + " Uptime: " + String ( uptime_total ) + " \n " ;
server . send ( 200 , " text/html " , index_html_str ) ;
server . sendHeader ( " Connection " , " close " ) ;
} ) ;