*/\r
static inline void Dataflash_SendAddressBytes(uint16_t PageAddress, const uint16_t BufferByte)\r
{ \r
- Dataflash_SendByte(PageAddress >> 5);\r
- Dataflash_SendByte((PageAddress << 3) | (BufferByte >> 8));\r
+ Dataflash_SendByte(PageAddress >> 6);\r
+ Dataflash_SendByte((PageAddress << 2) | (BufferByte >> 8));\r
Dataflash_SendByte(BufferByte);\r
}\r
\r
* used (thanks to Daniel Levy)\r
* - Fixed TeensyHID bootloader not enumerating to the host correctly\r
* - Fixed AVRISP project timeouts not checking for the correct timeout period (thanks to Carl Ott)\r
+ * - Fixed STK525 Dataflash driver using incorrect bit-shifting for Dataflash addresses (thanks to Tim Mitchell)\r
*\r
* \section Sec_ChangeLog091122 Version 091122\r
*\r