I am following the example at infocenter.nordicsemi.com/index.jsp
The following line is giving me the error "Error[Pe065]: expected a ";":
NRF_QUEUE_INTERFACE_DEF(uint8_t, byte_queue, &m_byte_queue);
I just copied the code from the example in the link above. My code looks like this:
#include "nrf_queue.h"
void test_queue()
{
NRF_QUEUE_DEF(uint8_t, m_byte_queue, 10, NRF_QUEUE_MODE_NO_OVERFLOW);
NRF_QUEUE_INTERFACE_DEC(uint8_t, byte_queue);
NRF_QUEUE_INTERFACE_DEF(uint8_t, byte_queue, &m_byte_queue);
}