diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-02-23 20:50:27 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-02-23 20:50:27 +0000 |
commit | 8514363f3a1c69b5266401fa641cf05fb53a8942 (patch) | |
tree | dd4711f65eb48fa02879ab3d369c6e5b23ecc1eb /testhal | |
parent | 68682a13589b74cdeabe6648e49e8245be6c8dca (diff) | |
download | ChibiOS-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')
-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
|