gptimer_alarm_config_t struct in c++ initialize like
Code: Select all
gptimer_alarm_config_t alarm_config2 = {
1000000, // period = 1s
0,
true,
};
Thanks
Code: Select all
gptimer_alarm_config_t alarm_config2 = {
1000000, // period = 1s
0,
true,
};