tests/tests-ieee802154: drop custom byteorder_htols() implementation
The function is now available through byteorder.h
This commit is contained in:
parent
04d86dbcae
commit
374d032b82
@ -23,11 +23,6 @@
|
|||||||
#include "unittests-constants.h"
|
#include "unittests-constants.h"
|
||||||
#include "tests-ieee802154.h"
|
#include "tests-ieee802154.h"
|
||||||
|
|
||||||
static inline le_uint16_t byteorder_htols(uint16_t v)
|
|
||||||
{
|
|
||||||
return byteorder_btols(byteorder_htons(v));
|
|
||||||
}
|
|
||||||
|
|
||||||
static void test_ieee802154_set_frame_hdr_flags0(void)
|
static void test_ieee802154_set_frame_hdr_flags0(void)
|
||||||
{
|
{
|
||||||
const le_uint16_t src_pan = byteorder_htols(0);
|
const le_uint16_t src_pan = byteorder_htols(0);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user