Skip unnecessary disable() call

This commit is contained in:
stefanrueger
2025-05-20 02:16:28 +02:00
parent ce093df4e6
commit 1d978db9e6

View File

@@ -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;