Fix header guard names; include correct header.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 8 Apr 2008 13:28:42 +0000 (13:28 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 8 Apr 2008 13:28:42 +0000 (13:28 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1219 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/drv/spi_bitbang.c
bertos/drv/spi_bitbang.h

index 90e959d8cbec96872838c97621b87fd7d8a7ddaf..dd83335a9e008b943fb420d384e911a267e4c968 100644 (file)
@@ -40,9 +40,9 @@
  */
 
 
-#include <cfg/cpu.h>
+#include <cpu/irq.h>
 #include <cfg/module.h>
-#include <drv/spi_emu.h>
+#include "spi_bitbang.h"
 #include "hw_spi.h"
 
 void spi_assertSS(void)
index ff716906f00ab625489ae2d5684e09f7df820259..4bccb821a84dcc5bdd0a653cc03013d918244a20 100644 (file)
@@ -40,8 +40,8 @@
  */
 
 
-#ifndef DRV_SPI_EMU_H
-#define DRV_SPI_EMU_H
+#ifndef DRV_SPI_BITBANG_H
+#define DRV_SPI_BITBANG_H
 
 #include <cfg/compiler.h>
 #include <appconfig.h>
@@ -69,4 +69,4 @@ void spi_init(void);
 void spi_assertSS(void);
 void spi_deassertSS(void);
 
-#endif /* DRV_SPI_EMU_H */
+#endif /* DRV_SPI_BITBANG_H */