We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
arduino
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 4c73daf commit b594effCopy full SHA for b594eff
libraries/RTC/src/RTC.cpp
@@ -435,6 +435,11 @@ void __attribute__((weak)) rtc_callback(rtc_callback_args_t *p_args) {
435
436
rtc_instance_ctrl_t rtc_ctrl = {
437
.open = 0,
438
+ .p_cfg = nullptr,
439
+ .carry_isr_triggered = false,
440
+ .p_callback = nullptr,
441
+ .p_callback_memory = nullptr,
442
+ .p_context = nullptr,
443
};
444
445
#ifndef RTC_CLOCK_SOURCE
@@ -458,6 +463,7 @@ rtc_cfg_t rtc_cfg = {
458
463
.carry_irq = FSP_INVALID_VECTOR,
459
464
.p_callback = rtc_callback,
460
465
.p_context = NULL,
466
+ .p_extend = NULL,
461
467
462
468
469
#ifdef __cplusplus
0 commit comments