aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F1xx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-02-23 20:50:27 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-02-23 20:50:27 +0000
commit8514363f3a1c69b5266401fa641cf05fb53a8942 (patch)
treedd4711f65eb48fa02879ab3d369c6e5b23ecc1eb /testhal/STM32F1xx
parent68682a13589b74cdeabe6648e49e8245be6c8dca (diff)
downloadChibiOS-8514363f3a1c69b5266401fa641cf05fb53a8942.tar.gz
ChibiOS-8514363f3a1c69b5266401fa641cf05fb53a8942.tar.bz2
ChibiOS-8514363f3a1c69b5266401fa641cf05fb53a8942.zip
PHY enumeration working.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3971 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F1xx')
-rw-r--r--testhal/STM32F1xx/MAC/main.c4
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(&ETHD1, NULL);*/
+ macStart(&ETHD1, &mac_config);
/*
* Normal main() thread activity, in this demo it enables and disables the