forked from Imagelibrary/rtems
bsps/serial: Move bsp_console_select() declaration
This commit is contained in:
@@ -28,14 +28,6 @@ extern "C" {
|
||||
|
||||
extern rtems_device_minor_number BSPPrintkPort;
|
||||
|
||||
/**
|
||||
* @brief bsp_console_select
|
||||
*
|
||||
* This function selects the port to be used as console
|
||||
*
|
||||
*/
|
||||
void bsp_console_select(void);
|
||||
|
||||
/**
|
||||
* @brief bsp_com_outch
|
||||
*
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*/
|
||||
|
||||
#include "console_private.h"
|
||||
#include <libchip/serial.h>
|
||||
|
||||
#include <bsp.h>
|
||||
|
||||
|
||||
@@ -221,6 +221,13 @@ extern console_data *Console_Port_Data;
|
||||
|
||||
extern rtems_device_minor_number Console_Port_Minor;
|
||||
|
||||
/**
|
||||
* @brief Selects the minor number of the console device.
|
||||
*
|
||||
* @see Console_Port_Minor.
|
||||
*/
|
||||
void bsp_console_select(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user