Skip to content

Commit 2a5ca58

Browse files
committed
Fixes compile error
1 parent f4dcf31 commit 2a5ca58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/UnitUnified/UnitID/Blinky-Hello-World/main/Blinky-Hello-World.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,10 @@ void dump_cert(const mbedtls_x509_crt *cert, const bool raw = false)
219219
}
220220
}
221221

222-
void printPEM(const uint8_t *der, const uint32_t dlen, const char *header, const char *footer)
222+
void printPEM(const uint8_t *der, const uint32_t dlen)
223223
{
224224
char buf[1024]{};
225-
if (convertToPEM(buf, sizeof(buf), der, dlen, header, footer)) {
225+
if (convertToPEM(buf, sizeof(buf), der, dlen)) {
226226
M5.Log.printf(buf);
227227
} else {
228228
M5_LOGE("Failed to convert PEM");

0 commit comments

Comments
 (0)