Skip to content

Commit 7e3e196

Browse files
committed
Fixing as-of-yet-not-fixed wrong braces.
1 parent 11217fd commit 7e3e196

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ArduinoIoTCloudTCP.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ int ArduinoIoTCloudTCP::write(String const topic, byte const data[], int const l
428428
#if OTA_ENABLED
429429
void ArduinoIoTCloudTCP::onOTARequest()
430430
{
431-
DEBUG_VERBOSE("ArduinoIoTCloudTCP::%s _ota_url = %s"), __FUNCTION__, _ota_url.c_str());
431+
DEBUG_VERBOSE("ArduinoIoTCloudTCP::%s _ota_url = %s", __FUNCTION__, _ota_url.c_str());
432432

433433
/* Status flag to prevent the reset from being executed
434434
* when HTTPS download is not supported.
@@ -444,7 +444,7 @@ void ArduinoIoTCloudTCP::onOTARequest()
444444
uint8_t nina_ota_err_code = 0;
445445
if (!WiFiStorage.downloadOTA(_ota_url.c_str(), &nina_ota_err_code))
446446
{
447-
DEBUG_ERROR("ArduinoIoTCloudTCP::%s error download to nina: %d"), __FUNCTION__, nina_ota_err_code);
447+
DEBUG_ERROR("ArduinoIoTCloudTCP::%s error download to nina: %d", __FUNCTION__, nina_ota_err_code);
448448
_ota_error = static_cast<int>(OTAError::DownloadFailed);
449449
return;
450450
}

0 commit comments

Comments
 (0)