Flasher support for versionning

Only bootrom with version > 1.0.0 will allow 512K writes
This commit is contained in:
slurdge 2019-07-19 18:21:20 +02:00 committed by Philippe Teuwen
commit 68aa9d631d
3 changed files with 28 additions and 3 deletions

View file

@ -143,7 +143,7 @@ void UsbPacketReceived(uint8_t *packet, int len) {
case CMD_BL_VERSION: {
dont_ack = 1;
arg0 = VERSION_1_0_0;
arg0 = BL_VERSION_1_0_0;
reply_old(CMD_BL_VERSION, arg0, 0, 0, 0, 0);
}