-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommander_modules.h
More file actions
28 lines (26 loc) · 984 Bytes
/
Copy pathcommander_modules.h
File metadata and controls
28 lines (26 loc) · 984 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// AUTO-GENERATED by cmdr — do not edit.
// Manage modules with: cmdr module enable|disable|list
#pragma once
#include "core/CommandRegistry.h"
#include "core/SystemModule.h"
#include "platform/pico/PicoBluepadBackend.h"
#include "hal/hal.h"
#include "modules/I2CDiagModule.h"
#include "modules/locomotion/LocomotionModule.h"
#include "modules/WifiModule.h"
static SystemModule _m_system;
static PicoBluepadBackend _m_controller_backend;
static ControllerModule _m_controller(_m_controller_backend);
void commander_on_controller_ready(ControllerModule &);
static I2CDiagModule _m_i2c;
static LocomotionModule _m_locomotion(66);
static WifiModule _m_wifi;
inline void commander_register_modules(CommandRegistry ®) {
reg.registerModule(_m_system);
reg.registerModule(_m_controller);
commander_on_controller_ready(_m_controller);
hal_i2c_init(6, 7, 100000);
reg.registerModule(_m_i2c);
reg.registerModule(_m_locomotion);
reg.registerModule(_m_wifi);
}