git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4255 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2012-06-02 10:38:53 +00:00
parent 16edbcb9f3
commit 7b3de5e072
1 changed files with 4 additions and 4 deletions

View File

@ -320,7 +320,7 @@ static const SerialUSBConfig serusbcfg = {
#define SHELL_WA_SIZE THD_WA_SIZE(2048)
#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;
(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);
}
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};
Thread *tp;
@ -354,7 +354,7 @@ static void cmd_threads(BaseChannel *chp, int argc, char *argv[]) {
} 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;
(void)argv;
@ -379,7 +379,7 @@ static const ShellCommand commands[] = {
};
static const ShellConfig shell_cfg1 = {
(BaseChannel *)&SDU1,
(BaseSequentialStream *)&SDU1,
commands
};