From f7aa0a32b2c2afe12fe90753c167c428d335a59b Mon Sep 17 00:00:00 2001 From: dowster Date: Fri, 17 Apr 2020 22:52:00 -0500 Subject: [PATCH] Fix typo with sigmadelta.h #ifdef --- components/driver/include/driver/sigmadelta.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/driver/include/driver/sigmadelta.h b/components/driver/include/driver/sigmadelta.h index 76237c193d..b62d937a53 100644 --- a/components/driver/include/driver/sigmadelta.h +++ b/components/driver/include/driver/sigmadelta.h @@ -19,7 +19,7 @@ #include "soc/gpio_sd_reg.h" #include "driver/gpio.h" -#ifdef _cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -102,7 +102,7 @@ esp_err_t sigmadelta_set_prescale(sigmadelta_channel_t channel, uint8_t prescale */ esp_err_t sigmadelta_set_pin(sigmadelta_channel_t channel, gpio_num_t gpio_num); -#ifdef _cplusplus +#ifdef __cplusplus } #endif