aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/ext_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/templates/ext_lld.c')
-rw-r--r--os/hal/templates/ext_lld.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/hal/templates/ext_lld.c b/os/hal/templates/ext_lld.c
index 45bc1c3dc..fc9c2181d 100644
--- a/os/hal/templates/ext_lld.c
+++ b/os/hal/templates/ext_lld.c
@@ -39,6 +39,11 @@
/* Driver exported variables. */
/*===========================================================================*/
+/**
+ * @brief EXTD1 driver identifier.
+ */
+EXTDriver EXTD1;
+
/*===========================================================================*/
/* Driver local variables. */
/*===========================================================================*/
@@ -62,6 +67,8 @@
*/
void ext_lld_init(void) {
+ /* Driver initialization.*/
+ extObjectInit(&EXTD1);
}
/**