[riot-notifications] [RIOT-OS/RIOT] cpu/esp32: fix of periph_* submodule compilation (#11337)

Gunar Schorcht notifications at github.com
Wed Apr 24 21:00:18 CEST 2019


gschorcht commented on this pull request.



> +
+/* forward declarations of internal functions */
+static bool _dac_conf_check(void);
+static bool _dac_module_initialized  = false;
+
+/* external variable declarations */
+extern const gpio_t _gpio_rtcio_map[];
+
+int8_t dac_init (dac_t line)
+{
+    CHECK_PARAM_RET (line < dac_chn_num, DAC_NOLINE)
+
+    if (!_dac_module_initialized) {
+        /* do some configuration checks */
+        if (!_dac_conf_check()) {
+            return -1;

Yes

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11337#discussion_r278272784
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190424/b8807974/attachment.html>


More information about the notifications mailing list