aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Peripheral/SerialStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Drivers/Peripheral/SerialStream.h')
-rw-r--r--LUFA/Drivers/Peripheral/SerialStream.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/LUFA/Drivers/Peripheral/SerialStream.h b/LUFA/Drivers/Peripheral/SerialStream.h
index 3ea165066..577d67537 100644
--- a/LUFA/Drivers/Peripheral/SerialStream.h
+++ b/LUFA/Drivers/Peripheral/SerialStream.h
@@ -97,6 +97,13 @@
#endif
/* Public Interface - May be used in end-application: */
+ /* External Variables: */
+ /** Named stream for the USART, once \ref SerialStream_Init() has been called. This may be used with the
+ * file based stream functions (fprintf, fscanf, etc.) that require a handle to the stream rather than
+ * using the stdin and stdout named streams.
+ */
+ extern FILE USARTStream;
+
/* Inline Functions: */
/** Initialises the serial stream (and regular USART driver) so that both the stream and regular
* USART driver functions can be used. Must be called before any stream or regular USART functions.
@@ -121,13 +128,6 @@
Serial_ShutDown();
}
- /* External Variables: */
- /** Named stream for the USART, once \ref SerialStream_Init() has been called. This may be used with the
- * file based stream functions (fprintf, fscanf, etc.) that require a handle to the stream rather than
- * using the stdin and stdout named streams.
- */
- extern FILE USARTStream;
-
/* Disable C linkage for C++ Compilers: */
#if defined(__cplusplus)
}