Add topcard detection for avrdude

This commit is contained in:
BlackMark 2020-04-12 12:01:53 +02:00
parent 8979066420
commit 3a04b1f488

View File

@ -236,6 +236,8 @@ static inline void formatGetParameterAnswer(Message &msg)
msg.body[2] = 2;
} else if (msg.body[1] == PARAM_OSC_CMATCH) {
msg.body[2] = 127;
} else if (msg.body[1] == PARAM_TOPCARD_DETECT) {
msg.body[2] = 0xFF;
} else {
msg.size = 2;
}