Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

ESP32TimerInterrupt.hpp syntax errors #25

@ghost

Description

Hello! I'm trying to build examples/Argument_None in version 2.0.1 but I get the following error:

ESP32TimerInterrupt/src/ESP32TimerInterrupt.hpp:107:22: error: "/*" within comment [-Werror=comment]
   TIMER_GROUP_0 = 0, /*!<Hw timer group 0

looking around in ESP32TimerInterrupt.hpp it certainly does look like the comments have been busted:

97 /*
98   //ESP32 core v1.0.6, hw_timer_t defined in esp32/tools/sdk/include/driver/driver/timer.h:
99 
100   #define TIMER_BASE_CLK   (APB_CLK_FREQ)  //Frequency of the clock on the input of the timer groups
101 
102 
103  //@brief Selects a Timer-Group out of 2 available groups
104 
105 typedef enum
106 {
107   TIMER_GROUP_0 = 0, /*!<Hw timer group 0
108   TIMER_GROUP_1 = 1, /*!<Hw timer group 1
109   TIMER_GROUP_MAX,
110 } timer_group_t;
111 

Any way to fix this? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SupportLibrary support

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions