MCPcopy Create free account
hub / github.com/OpenStickCommunity/GP2040-CE / LoadUSBAddon

Method LoadUSBAddon

src/addonmanager.cpp:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18bool AddonManager::LoadUSBAddon(GPAddon* addon) {
19 bool ret = LoadAddon(addon);
20 if ( ret == true )
21 USBHostManager::getInstance().pushListener(addon->getListener());
22 return ret;
23}
24
25void AddonManager::ReinitializeAddons() {
26 // Loop through all addons and process any that match our type

Callers 1

setupMethod · 0.80

Calls 2

pushListenerMethod · 0.80
getListenerMethod · 0.45

Tested by

no test coverage detected