diff options
Diffstat (limited to 'nuttx/examples/serloop')
-rw-r--r-- | nuttx/examples/serloop/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/examples/serloop/main.c b/nuttx/examples/serloop/main.c index d59e53209..a9bdbe7ea 100644 --- a/nuttx/examples/serloop/main.c +++ b/nuttx/examples/serloop/main.c @@ -1,7 +1,7 @@ /**************************************************************************** * examples/serloop/main.c * - * Copyright (C) 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -39,6 +39,7 @@ #include <nuttx/config.h> +#include <stdint.h> #include <stdio.h> #include <unistd.h> @@ -90,7 +91,7 @@ int user_start(int argc, char *argv[]) putchar(ch); } #else - ubyte ch; + uint8_t ch; int ret; for (;;) |