diff options
author | BIGTREETECH <38851044+bigtreetech@users.noreply.github.com> | 2024-12-07 02:41:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-06 13:41:22 -0500 |
commit | b7233d1197d9a2158676ad39d02b80f787054e20 (patch) | |
tree | a8745363ec4292933e3d149d81cef2b2252f0e09 /lib | |
parent | 16b4b6b302ac3ffcd55006cd76265aad4e26ecc8 (diff) | |
download | kutter-b7233d1197d9a2158676ad39d02b80f787054e20.tar.gz kutter-b7233d1197d9a2158676ad39d02b80f787054e20.tar.xz kutter-b7233d1197d9a2158676ad39d02b80f787054e20.zip |
lib: fix rp2040_flash (#6760)
Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rp2040_flash/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rp2040_flash/main.c b/lib/rp2040_flash/main.c index 78007130..017fe945 100644 --- a/lib/rp2040_flash/main.c +++ b/lib/rp2040_flash/main.c @@ -146,7 +146,7 @@ int picoboot_flash(libusb_device_handle *handle, struct flash_data *image, model } fprintf(stderr, "Rebooting device\n"); - if (model == 2040) { + if (model == rp2040) { if (picoboot_reboot(handle, 0, 0, 500)) { return report_error(handle, "reboot"); } |