[C015] Blynk: Fix compile-error when enabling the SSL option

This commit is contained in:
Ton Huisman
2023-06-20 21:54:31 +02:00
parent 96e55fbf7d
commit 41cdffd4e6
+1 -1
View File
@@ -120,7 +120,7 @@ bool CPlugin_015(CPlugin::Function function, struct EventStruct *event, String&
case CPlugin::Function::CPLUGIN_WEBFORM_LOAD:
{
char thumbprint[60] = {0};
LoadCustomControllerSettings(event->ControllerIndex, reinterpret_cast<const uint8_t *>(&thumbprint), sizeof(thumbprint));
LoadCustomControllerSettings(event->ControllerIndex, reinterpret_cast<uint8_t *>(&thumbprint), sizeof(thumbprint));
if (strlen(thumbprint) != 59) {
strcpy(thumbprint, CPLUGIN_015_DEFAULT_THUMBPRINT);