diff --git a/Firmware/Makefile b/Firmware/Makefile index d587105a..fb2a9115 100644 --- a/Firmware/Makefile +++ b/Firmware/Makefile @@ -46,7 +46,7 @@ erase_config: # FLASH_CR = (1 << FLASH_CR_PG); // unlock flash memory # [write OTP] write_otp: -ifeq ($(ODRV_FACTORY),TRUE) +ifeq ($(OTP_CONFIRM),TRUE) # Data: openocd -f interface/stlink-v2.cfg -f target/stm32f4x.cfg \ -c init \ @@ -72,7 +72,7 @@ else @echo " 1. open the Makefile and look at the write_otp target" @echo " 2. understand the structure of the OTP" @echo " 3. edit the bytes that are written to match your board version" - @echo "Run this command again, this time with ODRV_FACTORY=TRUE" + @echo "Run this command again, this time with OTP_CONFIRM=TRUE" endif clean: