Skip to content

Commit 7ecad3e

Browse files
committed
fix(ota): Use pointer rather than class
1 parent 0ebeef1 commit 7ecad3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ArduinoOTA/src/ArduinoOTA.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ void ArduinoOTAClass::_runUpdate() {
323323
#ifdef UPDATE_SIGN
324324
// Install signature verification if enabled
325325
if (_sign) {
326-
if (!Update.installSignature(_sign)) {
326+
if (!_updater->installSignature(_sign)) {
327327
log_e("Failed to install signature verification");
328328
if (_error_callback) {
329329
_error_callback(OTA_BEGIN_ERROR);

0 commit comments

Comments
 (0)