1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

nanocoap: rename coap_get_code() -> coap_get_code_decimal()

This commit is contained in:
Benjamin Valentin 2023-10-20 15:10:38 +02:00
parent 7790f85054
commit 4bfd87ffa2

View File

@ -482,7 +482,7 @@ static inline unsigned coap_get_code_detail(const coap_pkt_t *pkt)
*
* @returns message code in decimal format
*/
static inline unsigned coap_get_code(const coap_pkt_t *pkt)
static inline unsigned coap_get_code_decimal(const coap_pkt_t *pkt)
{
return (coap_get_code_class(pkt) * 100) + coap_get_code_detail(pkt);
}