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 f1e664b commit 568feafCopy full SHA for 568feaf
hal/mbed_us_ticker_api.c
@@ -14,8 +14,12 @@
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*/
17
+
18
+#include <stddef.h>
19
#include "hal/us_ticker_api.h"
20
21
+#if DEVICE_USTICKER
22
23
static ticker_event_queue_t events = { 0 };
24
25
static ticker_irq_handler_type irq_handler = ticker_irq_handler;
@@ -56,3 +60,12 @@ void us_ticker_irq_handler(void)
56
60
irq_handler(&us_data);
57
61
}
58
62
63
64
+#else
65
66
+const ticker_data_t *get_us_ticker_data(void)
67
+{
68
+ return NULL;
69
+}
70
71
+#endif // DEVICE_USTICKER
0 commit comments