diff options
author | Nao Pross <naopross@thearcway.org> | 2018-05-05 18:45:27 +0200 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-05-05 18:45:27 +0200 |
commit | 8668d0b74f541843704d87b7ba76bfed2ff95ddb (patch) | |
tree | 103d4f97b138365c20beb6568b274d10e38e2eab /main.cpp | |
parent | Add gpio::is_set() to read from _latch register, update command parsing (diff) | |
download | SAMLiquidSmoke-8668d0b74f541843704d87b7ba76bfed2ff95ddb.tar.gz SAMLiquidSmoke-8668d0b74f541843704d87b7ba76bfed2ff95ddb.zip |
Fix comments
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -113,6 +113,7 @@ int main(int argc, char** argv) } #endif + // parse command if (command.size() == 1) { if (command[0] == "help") { uart::print<1>("List of available commands:"); @@ -141,6 +142,7 @@ int main(int argc, char** argv) if (command[0] == "set") { if (command[1] == "baudrate") { if (command[2] == "9600") { + // TODO: replace with uart::set_baudrate<dev>(baud); U1BRG = 0x19; } else if (command[2] == "4800") { U1BRG = 0x33; |