Skip to content

Commit 4f4f2d6

Browse files
committed
readded peripheral guards for SDRAM
1 parent 649dd9a commit 4f4f2d6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

include/core/io/SDRAM.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef EVT_SDRAM_HPP
22
#define EVT_SDRAM_HPP
33
#include <core/io/pin.hpp>
4+
5+
#ifdef STM32F4xx
46
#include <HALf4/stm32f4xx_hal.h>
57

68
namespace core::io {
@@ -199,4 +201,6 @@ class SDRAM {
199201

200202
} // namespace core::io
201203

204+
#endif
205+
202206
#endif // STM32F4xx

0 commit comments

Comments
 (0)