diff --git a/protocol/console.h b/protocol/console.h index f212de2..4e645e4 100644 --- a/protocol/console.h +++ b/protocol/console.h @@ -26,10 +26,6 @@ extern "C" { #include "transports/libhoth_device.h" -#ifdef __cplusplus -} -#endif - #define EROT_CHANNEL_ID 0x45524F54 // 'EROT' #define HOTH_FIFO_MAX_REQUEST_SIZE 1024 #define HOTH_PRV_CMD_HOTH_CHANNEL_STATUS 0x0037 @@ -157,4 +153,8 @@ int libhoth_set_uart_config(struct libhoth_device *dev, const struct libhoth_htool_console_opts *opts, struct hoth_channel_uart_config *config); +#ifdef __cplusplus +} +#endif + #endif