Browse Source

Update powermeter.h

fix u8_t realm from null to zero.
pull/1654/head^2
DanielR92 8 months ago
committed by GitHub
parent
commit
b521b91bdf
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/plugins/zeroExport/powermeter.h

2
src/plugins/zeroExport/powermeter.h

@ -294,7 +294,7 @@ class powermeter {
/** setHeader /** setHeader
* *
*/ */
void setHeader(HTTPClient *h, String auth = "", u8_t realm = NULL) { void setHeader(HTTPClient *h, String auth = "", u8_t realm = 0) {
h->setFollowRedirects(HTTPC_STRICT_FOLLOW_REDIRECTS); h->setFollowRedirects(HTTPC_STRICT_FOLLOW_REDIRECTS);
/// h->setUserAgent("Ahoy-Agent"); /// h->setUserAgent("Ahoy-Agent");
/// // TODO: Ahoy-0.8.850024-zero /// // TODO: Ahoy-0.8.850024-zero

Loading…
Cancel
Save