SetAdcMuxFor - optional

Setting gpio port optional.
This commit is contained in:
Iceman 2018-02-11 17:31:48 +01:00 committed by GitHub
commit 79d5d9d1c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -558,7 +558,8 @@ void SetAdcMuxFor(uint32_t whichGpio)
LOW(GPIO_MUXSEL_LORAW); LOW(GPIO_MUXSEL_LORAW);
LOW(GPIO_MUXSEL_LOPKD); LOW(GPIO_MUXSEL_LOPKD);
HIGH(whichGpio); if (whichGpio > 0)
HIGH(whichGpio);
} }
void Fpga_print_status(void) { void Fpga_print_status(void) {