inflateEnd(&compressed_fpga_stream);
+ // turn off antenna
+ FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
+
// free eventually allocated BigBuf memory
BigBuf_free(); BigBuf_Clear_ext(false);
}
LOW(GPIO_MUXSEL_LORAW);
LOW(GPIO_MUXSEL_LOPKD);
- HIGH(whichGpio);
+ if (whichGpio > 0)
+ HIGH(whichGpio);
}
void Fpga_print_status(void) {