X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/9e2dc2d59ad6e33136679dd7668eb5cc52fa5de5..db23b2361f86b618d00e10d97b6166646012ef7b:/dataflash/at45db041d.c diff --git a/dataflash/at45db041d.c b/dataflash/at45db041d.c index a1d645a..5e2b0eb 100644 --- a/dataflash/at45db041d.c +++ b/dataflash/at45db041d.c @@ -3,7 +3,12 @@ #include "iobase.h" #include "core/ssp/ssp.h" +#ifdef R0KET #include +#else +#include +#define RB_SPI_CS_DF HOB_PORT(HOB_DATAFLASH_CS), HOB_PIN(HOB_DATAFLASH_CS) +#endif /* Opcodes */ #define OP_POWERDOWN (0xB9)