Skip to content

Commit b82f5ea

Browse files
authored
Merge pull request #859 from liamcottle/feature/board-cli-command
Add CLI Command: board
2 parents e381f03 + ec48e6a commit b82f5ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/helpers/CommonCLI.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,8 @@ void CommonCLI::handleCommand(uint32_t sender_timestamp, const char* command, ch
399399
sprintf(reply, "File system erase: %s", s ? "OK" : "Err");
400400
} else if (memcmp(command, "ver", 3) == 0) {
401401
sprintf(reply, "%s (Build: %s)", _callbacks->getFirmwareVer(), _callbacks->getBuildDate());
402+
} else if (memcmp(command, "board", 5) == 0) {
403+
sprintf(reply, "%s", _board->getManufacturerName());
402404
} else if (memcmp(command, "log start", 9) == 0) {
403405
_callbacks->setLoggingOn(true);
404406
strcpy(reply, " logging on");

0 commit comments

Comments
 (0)