diff --git a/lib/maca.c b/lib/maca.c index fb14052bb..e6ea4a2a8 100644 --- a/lib/maca.c +++ b/lib/maca.c @@ -618,7 +618,7 @@ void maca_isr(void) { dma_rx->rx_time = *MACA_TIMESTAMP; /* check if received packet needs an ack */ - if(dma_rx->data[1] & 0x20) { + if(prm_mode == AUTOACK && (dma_rx->data[1] & 0x20)) { /* this wait is necessary to auto-ack */ volatile uint32_t wait_clk; wait_clk = *MACA_CLK + 200; @@ -1037,14 +1037,14 @@ const uint8_t VCODivI[16] = { 0x2f, 0x2f, 0x2f, - 0x30, - 0x30, - 0x30, 0x2f, 0x30, 0x30, 0x30, 0x30, + 0x30, + 0x30, + 0x30, }; const uint32_t VCODivF[16] = {