Use macro to include correct target module. Reformat.
[bertos.git] / bertos / drv / spi_bitbang.c
index 90e959d8cbec96872838c97621b87fd7d8a7ddaf..f025131658b36c65e9dde8ef8bc8f89859299441 100644 (file)
  */
 
 
-#include <cfg/cpu.h>
-#include <cfg/module.h>
-#include <drv/spi_emu.h>
+#include "spi_bitbang.h"
 #include "hw_spi.h"
 
+#include <cfg/module.h>
+#include <cpu/irq.h>
+
 void spi_assertSS(void)
 {
        ATOMIC(SS_ACTIVE());