OTA_FIRMWARE_UPDATE (Creality STM32F401RE)

Followup to #25773
This commit is contained in:
Scott Lahteine 2025-05-06 22:06:47 -05:00
parent 5266ffb922
commit d806175a80
2 changed files with 3 additions and 1 deletions

View file

@ -1938,6 +1938,9 @@
//#define CUSTOM_FIRMWARE_UPLOAD //#define CUSTOM_FIRMWARE_UPLOAD
#endif #endif
// "Over-the-air" Firmware Update with M936 - Required to set EEPROM flag
//#define OTA_FIRMWARE_UPDATE
/** /**
* Set this option to one of the following (or the board's defaults apply): * Set this option to one of the following (or the board's defaults apply):
* *

View file

@ -34,7 +34,6 @@
/** /**
* M936: Set one of the OTA update flags. * M936: Set one of the OTA update flags.
* V2 = Upgrade the motherboard firmware * V2 = Upgrade the motherboard firmware
* V3 = Upgrade the RTS controller firmware
*/ */
void GcodeSuite::M936() { void GcodeSuite::M936() {
static uint8_t ota_update_flag = 0x00; static uint8_t ota_update_flag = 0x00;