[riot-notifications] [RIOT-OS/RIOT] boards/esp32: changes the approach for configurations of ADC channels in board definitions (#11289)

Gunar Schorcht notifications at github.com
Wed Mar 27 15:35:39 CET 2019

gschorcht commented on this pull request.

> @@ -167,6 +159,8 @@ static bool _adc2_ctrl_initialized = false;
 #endif /* defined(ADC_GPIOS) || defined(DAC_GPIOS) */
 #if defined(ADC_GPIOS)
+static const unsigned adc_chn_num = ADC_NUMOF;

Good question. It was just because I got compile errors when ADC_NUMOF became 0. I fixed it.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190327/fe3edd6b/attachment.html>

More information about the notifications mailing list