部分统一命名规范。
This commit is contained in:
@@ -26,7 +26,7 @@ extern WrapperHead *video_chassis;
|
||||
extern Serial serial;
|
||||
extern uint8_t last_state;
|
||||
|
||||
extern ArmorFinder armorFinder;
|
||||
extern ArmorFinder armor_finder;
|
||||
extern Energy energy;
|
||||
|
||||
void uartReceive(Serial *pSerial) {
|
||||
|
||||
@@ -120,7 +120,7 @@ std::map<std::string, std::pair<std::string, void(*)(void)>> options = {
|
||||
}}
|
||||
};
|
||||
|
||||
void process_options(int argc, char *argv[]) {
|
||||
void processOptions(int argc, char **argv) {
|
||||
if (argc >= 2) {
|
||||
for (int i = 1; i < argc; i++) {
|
||||
auto key = options.find(std::string(argv[i])); // 寻找对应选项。
|
||||
|
||||
Reference in New Issue
Block a user