Skip to content

Commit 5b077a5

Browse files
authored
Merge pull request #586 from arduino/pennam-patch-1
STM32H747_getBootloaderInfo fix typo
2 parents 7aff1a9 + 4d157b0 commit 5b077a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libraries/STM32H747_System/examples/STM32H747_getBootloaderInfo/STM32H747_getBootloaderInfo.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ uint8_t* bootloader_identification = (uint8_t*)(0x80002F0);
33

44
#if __has_include("portenta_info.h")
55
#include "portenta_info.h"
6-
#define GET_PORENTA_OTP_BOARD_INFO
6+
#define GET_PORTENTA_OTP_BOARD_INFO
77
PortentaBoardInfo *info;
88
PortentaBoardInfo* boardInfo();
99
#endif
@@ -30,7 +30,7 @@ void setup() {
3030
Serial.println("Magic Number (validation): " + String(bootloader_data[0], HEX));
3131
Serial.println("Bootloader version: " + String(bootloader_data[1]));
3232

33-
#if defined(GET_PORENTA_OTP_BOARD_INFO)
33+
#if defined(GET_PORTENTA_OTP_BOARD_INFO)
3434
printPortentaSecureInfo();
3535
#elif defined(GET_OPTA_OTP_BOARD_INFO)
3636
printOptaSecureInfo();
@@ -39,7 +39,7 @@ void setup() {
3939
#endif
4040
}
4141

42-
#if defined(GET_PORENTA_OTP_BOARD_INFO)
42+
#if defined(GET_PORTENTA_OTP_BOARD_INFO)
4343
void printPortentaSecureInfo() {
4444
info = boardInfo();
4545
if (info->magic == 0xB5) {

0 commit comments

Comments
 (0)