mirror of
https://github.com/pschatzmann/arduino-audio-tools.git
synced 2024-09-22 02:47:31 +00:00
doxygen
This commit is contained in:
parent
9b756e1a1a
commit
28d76277b4
@ -151,6 +151,7 @@ class URLStreamDefault : public AbstractURLStream {
|
||||
clientTimeout = ms;
|
||||
}
|
||||
|
||||
/// if set to true, it activates the power save mode which comes at the cost of porformance! - By default this is deactivated.
|
||||
void setPowerSave(bool ps){
|
||||
is_power_save = ps;
|
||||
}
|
||||
@ -195,7 +196,7 @@ class URLStreamDefault : public AbstractURLStream {
|
||||
if (clientSecure!=nullptr){
|
||||
clientSecure->setHandshakeTimeout(handshakeTimeout);
|
||||
}
|
||||
|
||||
|
||||
// Performance optimization for ESP32
|
||||
if (!is_power_save){
|
||||
esp_wifi_set_ps(WIFI_PS_NONE);
|
||||
|
Loading…
Reference in New Issue
Block a user