Skip to content

Commit

Permalink
Update gp2040.cpp
Browse files Browse the repository at this point in the history
These both need to be LoadUSBAddon() calls
  • Loading branch information
arntsonl authored Aug 16, 2023
1 parent b44f143 commit 6cfe813
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gp2040.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ void GP2040::setup() {
adc_init();

// Setup Add-ons
addons.LoadAddon(new KeyboardHostAddon(), CORE0_INPUT);
addons.LoadUSBAddon(new KeyboardHostAddon(), CORE0_INPUT);
addons.LoadUSBAddon(new PSPassthroughAddon(), CORE0_USBREPORT);
addons.LoadAddon(new AnalogInput(), CORE0_INPUT);
addons.LoadAddon(new BootselButtonAddon(), CORE0_INPUT);
addons.LoadAddon(new DualDirectionalInput(), CORE0_INPUT);
Expand Down

0 comments on commit 6cfe813

Please sign in to comment.