We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ace8210 commit 6874fdeCopy full SHA for 6874fde
TESTS/mbed_drivers/timer/main.cpp
@@ -103,6 +103,12 @@ static void stub_fire_interrupt(void)
103
/* do nothing. */
104
}
105
106
+/* User ticker interface function. */
107
+static void stub_free(void)
108
+{
109
+ /* do nothing. */
110
+}
111
+
112
ticker_info_t info =
113
{ TICKER_FREQ_1MHZ, TICKER_BITS };
114
@@ -122,6 +128,7 @@ static const ticker_interface_t us_interface = {
122
128
.clear_interrupt = stub_clear_interrupt,
123
129
.set_interrupt = stub_set_interrupt,
124
130
.fire_interrupt = stub_fire_interrupt,
131
+ .free = stub_free,
125
132
.get_info = stub_get_info,
126
133
};
127
134
0 commit comments