mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-29 20:38:44 +03:00
Skip unnecessary disable() call
This commit is contained in:
@@ -2208,6 +2208,9 @@ static int urclock_initialize(const PROGRAMMER *pgm, const AVRPART *p) {
|
||||
static void urclock_disable(const PROGRAMMER *pgm) {
|
||||
unsigned char buf[16];
|
||||
|
||||
if(ur.urprotocol)
|
||||
return;
|
||||
|
||||
buf[0] = Cmnd_STK_LEAVE_PROGMODE;
|
||||
buf[1] = Sync_CRC_EOP;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user