summaryrefslogtreecommitdiff
path: root/ucoo/hal/sdram/sdram.stm32f4.hh
diff options
context:
space:
mode:
Diffstat (limited to 'ucoo/hal/sdram/sdram.stm32f4.hh')
-rw-r--r--ucoo/hal/sdram/sdram.stm32f4.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ucoo/hal/sdram/sdram.stm32f4.hh b/ucoo/hal/sdram/sdram.stm32f4.hh
index fbeefe0..aac82e0 100644
--- a/ucoo/hal/sdram/sdram.stm32f4.hh
+++ b/ucoo/hal/sdram/sdram.stm32f4.hh
@@ -23,6 +23,7 @@
// DEALINGS IN THE SOFTWARE.
//
// }}}
+#include "ucoo/hal/gpio/gpio.hh"
#include "ucoo/common.hh"
#include <initializer_list>
@@ -34,7 +35,7 @@ class Sdram
{
public:
struct Io {
- uint32_t gpio;
+ GpioPort &port;
uint16_t pins;
};
struct Param {