Skip to content
Snippets Groups Projects
Commit be854e63 authored by schneider's avatar schneider
Browse files

fix(bootloader): Add GPIO1 as trigger option

parent 598d3378
No related branches found
No related tags found
No related merge requests found
......@@ -179,8 +179,7 @@ int main(void)
printf("\n\nBootloader\n");
// If the button is pressed, we go into MSC mode.
//if (!GPIO_InGet(&gpio_in)) {
if (PB_Get(0)) {
if (PB_Get(0) || PB_Get(1)) {
run_usbmsc();
// If we return, don't try to boot. Maybe rather trigger a software reset.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment