diff --git a/os/kernel/include/chmsg.h b/os/kernel/include/chmsg.h index d1a9aa472..d1200e7a7 100644 --- a/os/kernel/include/chmsg.h +++ b/os/kernel/include/chmsg.h @@ -55,18 +55,6 @@ */ #define chMsgGet(tp) ((tp)->p_msg) -/** - * @brief Returns the message carried by the specified thread. - * @pre This function must be invoked immediately after exiting a call - * to @p chMsgWait(). - * - * @param[in] tp pointer to the thread - * @return The message carried by the sender. - * - * @sclass - */ -#define chMsgGetS(tp) ((tp)->p_msg) - /** * @brief Releases the thread waiting on top of the messages queue. * @pre Invoke this function only after a message has been received diff --git a/readme.txt b/readme.txt index f5e095d6e..1a51da95e 100644 --- a/readme.txt +++ b/readme.txt @@ -251,6 +251,7 @@ - CHANGE: Removed the chioch.h header from the kernel, now channels interface is exported by the HAL. Removed functions chPutWouldBlock() and chGetWouldBlock(). +- CHANGE: Removed macro chMsgGetS(), chMsgGet() is still available. - CHANGE: chprintf() now takes a BaseSequentialStream as parameter instead of a BaseChannel making it more generic. - CHANGE: Now the shell requires a BaseSequentialStream instead of a