Added two utility macros to stringify the value of a define

This commit is contained in:
anschrammh 2025-04-29 07:23:06 +02:00
parent cdc8ab151b
commit 27fe826185

View File

@ -3,6 +3,17 @@
#include "wm_include.h"
/**
* @brief Macro used to stringify the value of a define.
*/
#define STRINGIFY_VALUE(x) STRINGIFY(x)
/**
* @brief Macro used to stringify a define.
*/
#define STRINGIFY(x) #x
/**
* @brief Wait for the specified time in micro seconds. This is a blocking function !
*