mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-23 17:46:33 +03:00
Not show EEPROM erase note when a bootloader
This commit is contained in:
@@ -965,7 +965,7 @@ static int cmd_erase(const PROGRAMMER *pgm, const AVRPART *p, int argc, const ch
|
||||
}
|
||||
|
||||
const char *note = "";
|
||||
if(avr_locate_eeprom(p)) {
|
||||
if(!(pgm->prog_modes & PM_SPM) && avr_locate_eeprom(p)) { // Not a bootloader: is EEPROM saved?
|
||||
int eesave, bakverb = verbose;
|
||||
verbose = -123; // Silently read EESAVE configuration bit
|
||||
if(avr_get_config_value(pgm, p, "eesave", &eesave) == 0)
|
||||
|
||||
Reference in New Issue
Block a user