Improved printable implementation; data reading with macro

This commit is contained in:
dario
2024-06-26 17:41:56 +02:00
committed by dario
parent b9ccb2d65f
commit ebb14896b8
7 changed files with 56 additions and 16 deletions

View File

@@ -35,16 +35,17 @@ namespace sta
*
* @param fmt See @ref sta::Printable::printf
* @param ... See @ref sta::Printable::printf
*
* @ingroup sta_core_debug
*/
# define STA_DEBUG_PRINTF(fmt, ...) sta::Debug->printf(fmt, __VA_ARGS__)
/**
* @brief Read string via printable.
* @brief Read data via printable.
*
* @param ... See @ref sta::Printable::read
*
* @ingroup sta_core_debug
*
*/
# define STA_DEBUG_READ(buffer, length) sta::Debug->read(buffer, length)