Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
fredlcore committed Nov 5, 2024
1 parent 30f3066 commit 2a412b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions BSB_LAN/include/print_ipwe.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ void Ipwe() {
uint8_t d_addr = destAddr;
uint8_t save_my_dev_fam = my_dev_fam;
uint8_t save_my_dev_var = my_dev_var;
uint32_t save_my_dev_id = my_dev_id;
printFmtToDebug("IPWE sensors: %d\r\n", numIPWESensors);
printHTTPheader(HTTP_OK, MIME_TYPE_TEXT_HTML, HTTP_ADD_CHARSET_TO_HEADER, HTTP_FILE_NOT_GZIPPED, HTTP_NO_DOWNLOAD, HTTP_DO_NOT_CACHE);
printToWebClient("\r\n<html><body><form><table border=1><tbody><tr><td>Sensortyp</td><td>Adresse</td><td>Beschreibung</td><td>Wert</td><td>Luftfeuchtigkeit</td><td>Windgeschwindigkeit</td><td>Regenmenge</td></tr>");
Expand All @@ -40,6 +41,7 @@ void Ipwe() {
return_to_default_destination(destAddr);
my_dev_fam = save_my_dev_fam;
my_dev_var = save_my_dev_var;
my_dev_id = save_my_dev_id;
}
}
query(ipwe_parameters[i].number);
Expand All @@ -56,6 +58,7 @@ void Ipwe() {
return_to_default_destination(destAddr);
my_dev_fam = save_my_dev_fam;
my_dev_var = save_my_dev_var;
my_dev_id = save_my_dev_id;
}

if (LoggingMode & CF_LOGMODE_24AVG) {
Expand Down

0 comments on commit 2a412b6

Please sign in to comment.