git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4255 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
16edbcb9f3
commit
7b3de5e072
|
@ -320,7 +320,7 @@ static const SerialUSBConfig serusbcfg = {
|
||||||
#define SHELL_WA_SIZE THD_WA_SIZE(2048)
|
#define SHELL_WA_SIZE THD_WA_SIZE(2048)
|
||||||
#define TEST_WA_SIZE THD_WA_SIZE(256)
|
#define TEST_WA_SIZE THD_WA_SIZE(256)
|
||||||
|
|
||||||
static void cmd_mem(BaseChannel *chp, int argc, char *argv[]) {
|
static void cmd_mem(BaseSequentialStream *chp, int argc, char *argv[]) {
|
||||||
size_t n, size;
|
size_t n, size;
|
||||||
|
|
||||||
(void)argv;
|
(void)argv;
|
||||||
|
@ -334,7 +334,7 @@ static void cmd_mem(BaseChannel *chp, int argc, char *argv[]) {
|
||||||
chprintf(chp, "heap free total : %u bytes\r\n", size);
|
chprintf(chp, "heap free total : %u bytes\r\n", size);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void cmd_threads(BaseChannel *chp, int argc, char *argv[]) {
|
static void cmd_threads(BaseSequentialStream *chp, int argc, char *argv[]) {
|
||||||
static const char *states[] = {THD_STATE_NAMES};
|
static const char *states[] = {THD_STATE_NAMES};
|
||||||
Thread *tp;
|
Thread *tp;
|
||||||
|
|
||||||
|
@ -354,7 +354,7 @@ static void cmd_threads(BaseChannel *chp, int argc, char *argv[]) {
|
||||||
} while (tp != NULL);
|
} while (tp != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void cmd_test(BaseChannel *chp, int argc, char *argv[]) {
|
static void cmd_test(BaseSequentialStream *chp, int argc, char *argv[]) {
|
||||||
Thread *tp;
|
Thread *tp;
|
||||||
|
|
||||||
(void)argv;
|
(void)argv;
|
||||||
|
@ -379,7 +379,7 @@ static const ShellCommand commands[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static const ShellConfig shell_cfg1 = {
|
static const ShellConfig shell_cfg1 = {
|
||||||
(BaseChannel *)&SDU1,
|
(BaseSequentialStream *)&SDU1,
|
||||||
commands
|
commands
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue