diff options
Diffstat (limited to 'src/GCodes/GCodes3.cpp')
-rw-r--r-- | src/GCodes/GCodes3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GCodes/GCodes3.cpp b/src/GCodes/GCodes3.cpp index f321cf0d..0783dc1d 100644 --- a/src/GCodes/GCodes3.cpp +++ b/src/GCodes/GCodes3.cpp @@ -1167,7 +1167,7 @@ GCodeResult GCodes::UpdateFirmware(GCodeBuffer& gb, const StringRef &reply) for (size_t i = 0; i < numUpdateModules; ++i) { uint32_t t = modulesToUpdate[i]; - if (t >= NumFirmwareUpdateModules) + if (t >= FirmwareUpdater::NumUpdateModules) { reply.printf("Invalid module number '%" PRIu32 "'\n", t); firmwareUpdateModuleMap.Clear(); |