fix minor race with qdinc

This commit is contained in:
optixx
2009-10-24 16:43:49 +02:00
parent fe0df3430b
commit 9d72708064
5 changed files with 14 additions and 42 deletions

View File

@@ -59,6 +59,8 @@ volatile uint8_t cr = 0;
uint8_t *token_ptr;
#if DO_SHELL
uint8_t *get_token(void)
{
uint8_t *p = token_ptr;
@@ -488,4 +490,4 @@ void shell_run(void)
prompt();
}
#endif