Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 3 | ||
---|---|---|---|
Line 14... | Line 14... | ||
14 | //#include "test.h" |
14 | //#include "test.h" |
15 | #include "shell.h" |
15 | #include "shell.h" |
16 | #include "evtimer.h" |
16 | #include "evtimer.h" |
17 | #include "chprintf.h" |
17 | #include "chprintf.h" |
18 | 18 | ||
- | 19 | #include "useLidar.h" |
|
- | 20 | ||
19 | #include "shellCmds.h" |
21 | #include "shellCmds.h" |
20 | #include "timer2.h" |
- | |
21 | 22 | ||
22 | 23 | ||
23 | static void cmd_mem(BaseChannel *chp, int argc, char *argv[]) { |
24 | static void cmd_mem(BaseChannel *chp, int argc, char *argv[]) { |
24 | size_t n, size , largest; |
25 | size_t n, size , largest; |
25 | 26 | ||
Line 90... | Line 91... | ||
90 | 91 | ||
91 | 92 | ||
92 | 93 | ||
93 | 94 | ||
94 | const ShellCommand shellCommands[] = { { "mem", cmd_mem }, { "threads", |
95 | const ShellCommand shellCommands[] = { { "mem", cmd_mem }, { "threads", |
95 | cmd_threads }, { "pll", cmd_pll }, { NULL, NULL } }; |
96 | cmd_threads }, { "pll", cmd_pll }, { "lidar", shellLidar }, { NULL, NULL } }; |
96 | 97 | ||
97 | 98 |