mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-12-17 00:58:02 +00:00
Fix indentation. Update doxygen comments
This commit is contained in:
@@ -11,11 +11,6 @@
|
||||
#ifndef STA_CORE_DEBUG_SERIAL_HPP
|
||||
#define STA_CORE_DEBUG_SERIAL_HPP
|
||||
|
||||
/**
|
||||
* @defgroup staCoreDebug Debug Serial
|
||||
* @ingroup staCore
|
||||
* @brief Debug serial output.
|
||||
*/
|
||||
|
||||
#include <sta/config.hpp>
|
||||
|
||||
@@ -35,19 +30,27 @@
|
||||
# endif // !STA_DEBUG_SERIAL_FORCE
|
||||
#endif // STA_DEBUG_SERIAL_UART
|
||||
|
||||
|
||||
#if defined(STA_DEBUG_SERIAL_ENABLED) || defined(DOXYGEN)
|
||||
|
||||
#include <sta/printable_uart.hpp>
|
||||
|
||||
|
||||
/**
|
||||
* @defgroup sta_core_debug Debug Serial
|
||||
* @ingroup sta_core
|
||||
* @brief Debug serial output.
|
||||
*/
|
||||
|
||||
|
||||
namespace sta
|
||||
{
|
||||
/**
|
||||
* @brief %UART print object for debug serial output.
|
||||
*
|
||||
* @ingroup staCoreDebug
|
||||
*/
|
||||
extern PrintableUART DebugSerial;
|
||||
/**
|
||||
* @brief %UART print object for debug serial output.
|
||||
*
|
||||
* @ingroup sta_core_debug
|
||||
*/
|
||||
extern PrintableUART DebugSerial;
|
||||
} // namespace sta
|
||||
|
||||
|
||||
@@ -56,7 +59,7 @@ namespace sta
|
||||
*
|
||||
* @param ... See @ref sta::PrintableUART::print
|
||||
*
|
||||
* @ingroup staCoreDebug
|
||||
* @ingroup sta_core_debug
|
||||
*/
|
||||
# define STA_DEBUG_PRINT(...) sta::DebugSerial.print(__VA_ARGS__)
|
||||
/**
|
||||
@@ -64,7 +67,7 @@ namespace sta
|
||||
*
|
||||
* @param ... See @ref sta::PrintableUART::println
|
||||
*
|
||||
* @ingroup staCoreDebug
|
||||
* @ingroup sta_core_debug
|
||||
*/
|
||||
# define STA_DEBUG_PRINTLN(...) sta::DebugSerial.println(__VA_ARGS__)
|
||||
#else // !STA_DEBUG_SERIAL_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user