mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
Fix RIP bugs, add in UART
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include "flatbuffers_generated/RobotModule_generated.h"
|
||||
|
||||
inline std::unordered_map<int, int> MODULE_TO_NUM_CHANNELS_MAP {
|
||||
{ModuleType_SPLITTER, 4},
|
||||
{ModuleType_SPLITTER, 3}, // should be 4
|
||||
{ModuleType_SERVO_1, 2},
|
||||
{ModuleType_DC_MOTOR, 1},
|
||||
{ModuleType_SERVO_2, 2},
|
||||
@@ -19,7 +19,7 @@ inline std::unordered_map<int, int> MODULE_TO_NUM_CHANNELS_MAP {
|
||||
{ModuleType_SPEAKER, 1},
|
||||
{ModuleType_IMU, 1},
|
||||
{ModuleType_DISTANCE_SENSOR, 1},
|
||||
{ModuleType_SPLITTER_2, 4},
|
||||
{ModuleType_SPLITTER_2, 3}, // should be 4
|
||||
{ModuleType_SPLITTER_3, 3},
|
||||
{ModuleType_SPLITTER_4, 3},
|
||||
{ModuleType_SPLITTER_5, 3},
|
||||
|
||||
Reference in New Issue
Block a user