diff options
Diffstat (limited to 'testhal')
-rw-r--r-- | testhal/STM32F1xx/MAC/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testhal/STM32F1xx/MAC/main.c b/testhal/STM32F1xx/MAC/main.c index dd9d2dae1..b1eac6fce 100644 --- a/testhal/STM32F1xx/MAC/main.c +++ b/testhal/STM32F1xx/MAC/main.c @@ -21,6 +21,8 @@ #include "ch.h"
#include "hal.h"
+static const MACConfig mac_config = {NULL};
+
/*
* Application entry point.
*/
@@ -39,7 +41,7 @@ int main(void) { /*
* Activates the MAC driver 1.
*/
-/* macStart(ÐD1, NULL);*/
+ macStart(ÐD1, &mac_config);
/*
* Normal main() thread activity, in this demo it enables and disables the
|