grey panda query, 1.0.5

This commit is contained in:
George Hotz
2018-01-23 20:10:23 -08:00
parent f415c9a303
commit 65fb2b26cb
2 changed files with 6 additions and 1 deletions

View File

@@ -1 +1 @@
v1.0.4
v1.0.5

View File

@@ -175,6 +175,11 @@ int usb_cb_control_msg(USB_Setup_TypeDef *setup, uint8_t *resp, int hardwired) {
puts(" err: "); puth(can_err_cnt);
puts("\n");
break;
// **** 0xc1: is grey panda
case 0xc1:
resp[0] = is_grey_panda;
resp_len = 1;
break;
// **** 0xd0: fetch serial number
case 0xd0:
#ifdef PANDA