wirepas / wm-sdk

SDK to develop applications on the MCU running Wirepas Stack
Other
44 stars 33 forks source link

debug: cast buffer to uint8 on log #37

Open MarcFinetRtone opened 3 years ago

MarcFinetRtone commented 3 years ago

To:

Typical usage:

struct {
        uint32_t x;
        uint32_t y;
        uint8_t data[10];
} foo;
LOG_BUFFER(LVL_DEBUG, &foo, sizeof(foo));