From 8514363f3a1c69b5266401fa641cf05fb53a8942 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 23 Feb 2012 20:50:27 +0000 Subject: PHY enumeration working. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3971 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32F1xx/MAC/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testhal/STM32F1xx') 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 -- cgit v1.2.3