Revert changes made for the partial port to the AVR32 architecture.
[pub/USBasp.git] / LUFA / Drivers / Board / Dataflash.h
index dfd8cd6..762142c 100644 (file)
                        static inline uint8_t Dataflash_TransferByte(const uint8_t Byte) ATTR_ALWAYS_INLINE;\r
                        static inline uint8_t Dataflash_TransferByte(const uint8_t Byte)\r
                        {\r
-                               return SPI_Transfer(Byte);\r
+                               return SPI_TransferByte(Byte);\r
                        }\r
 \r
                        /** Sends a byte to the currently selected dataflash IC, and ignores the next byte from the dataflash.\r
                        static inline void Dataflash_SendByte(const uint8_t Byte) ATTR_ALWAYS_INLINE;\r
                        static inline void Dataflash_SendByte(const uint8_t Byte)\r
                        {\r
-                               SPI_Send(Byte);\r
+                               SPI_SendByte(Byte);\r
                        }\r
                        \r
                        /** Sends a dummy byte to the currently selected dataflash IC, and returns the next byte from the dataflash.\r
                        static inline uint8_t Dataflash_ReceiveByte(void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;\r
                        static inline uint8_t Dataflash_ReceiveByte(void)\r
                        {\r
-                               return SPI_Receive();\r
+                               return SPI_ReceiveByte();\r
                        }\r
 \r
                /* Includes: */\r
                                #include "EVK527/Dataflash.h"\r
                        #elif (BOARD == BOARD_USER)\r
                                #include "Board/Dataflash.h"\r
-                       #elif (BOARD = BOARD_EVK1101)\r
-                               #include "EVK1101/Dataflash.h"\r
                        #else\r
                                #error The selected board does not contain a dataflash IC.\r
                        #endif\r