Update mbed_retarget.h coding style, star binds to the right.

pull/10553/head
Jaakko Korhonen 2019-05-23 09:27:05 +03:00
parent a48d12683f
commit 9fb4437003
1 changed files with 3 additions and 3 deletions

View File

@ -122,7 +122,7 @@ FileHandle *mbed_target_override_console(int fd);
* *
* Example using UARTSerial: * Example using UARTSerial:
* @code * @code
* FileHandle* mbed::mbed_override_console(int) { * FileHandle *mbed::mbed_override_console(int) {
* static UARTSerial my_serial(D0, D1); * static UARTSerial my_serial(D0, D1);
* return &my_serial; * return &my_serial;
* } * }
@ -130,7 +130,7 @@ FileHandle *mbed_target_override_console(int fd);
* *
* Example using SingleWireOutput: * Example using SingleWireOutput:
* @code * @code
* FileHandle* mbed::mbed_override_console(int) { * FileHandle *mbed::mbed_override_console(int) {
* static SerialWireOutput swo; * static SerialWireOutput swo;
* return &swo; * return &swo;
* } * }
@ -138,7 +138,7 @@ FileHandle *mbed_target_override_console(int fd);
* *
* Example using arm semihosting: * Example using arm semihosting:
* @code * @code
* FileHandle* mbed::mbed_override_console(int fileno) { * FileHandle *mbed::mbed_override_console(int fileno) {
* static LocalFileSystem fs("host"); * static LocalFileSystem fs("host");
* if (fileno == STDIN_FILENO) { * if (fileno == STDIN_FILENO) {
* static FileHandle *in_terminal; * static FileHandle *in_terminal;