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:
parent
7790f85054
commit
4bfd87ffa2
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user