Rename BOOTSEL to PICOBOOT, disable mass storage in bootsel mode
This commit is contained in:
@@ -30,10 +30,10 @@ int main() {
|
||||
rx_buf.clear();
|
||||
|
||||
switch (msg->type_id) {
|
||||
case RequestBOOTSEL::ext_id:
|
||||
send_bytes(encode_response(msg->message_id, ResponseBOOTSEL{}));
|
||||
case RequestPICOBOOT::ext_id:
|
||||
send_bytes(encode_response(msg->message_id, ResponsePICOBOOT{}));
|
||||
sleep_ms(100);
|
||||
reset_usb_boot(0, 0);
|
||||
reset_usb_boot(0, 1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user