Merge branch 'master' into license-change
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
|
||||
// http://opensource.org/licenses/MIT>, at your option. This file may not be
|
||||
// copied, modified, or distributed except according to those terms.
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@ -176,8 +177,12 @@ int bootloader_bridge(int klen, uint8_t * keyh)
|
||||
case BootVersion:
|
||||
has_erased = 0;
|
||||
printf1(TAG_BOOT, "BootVersion.\r\n");
|
||||
version = BOOT_VERSION_MAJ;
|
||||
u2f_response_writeback(&version,1);
|
||||
version = BOOT_VERSION_MIN;
|
||||
u2f_response_writeback(&version,1);
|
||||
version = BOOT_VERSION_PATCH;
|
||||
u2f_response_writeback(&version,1);
|
||||
return 0;
|
||||
break;
|
||||
case BootReboot:
|
||||
printf1(TAG_BOOT, "BootReboot.\r\n");
|
||||
|
Reference in New Issue
Block a user