Add missed function rename. (Thanks VSCode)

This commit is contained in:
Jonathan Bennett 2024-08-10 23:11:04 -05:00
parent 1cfd5d12d2
commit 54a2e14e35

View File

@ -484,7 +484,7 @@ meshtastic_Routing_Error perhapsEncode(meshtastic_MeshPacket *p)
memcpy(p->encrypted.bytes, bytes, numbytes);
}
#else
crypto->encrypt(getFrom(p), p->id, numbytes, bytes);
crypto->encryptPacket(getFrom(p), p->id, numbytes, bytes);
memcpy(p->encrypted.bytes, bytes, numbytes);
#endif