mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-06-02 09:46:34 +03:00
Make it possible to read and set the target voltage in the same command
This commit is contained in:
@@ -546,7 +546,7 @@ retry:
|
||||
if(my.varef_get)
|
||||
msg_info("Analog reference voltage value read as %.2f V\n", (varef_read/10.0));
|
||||
// Write analog reference voltage
|
||||
else {
|
||||
if(my.varef_set) {
|
||||
msg_info("Changing analog reference voltage from %.2f V to %.2f V\n", (varef_read/10.0), my.varef_data);
|
||||
if(pgm->set_varef(pgm, 0, my.varef_data) < 0)
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user