mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-12 02:41:37 +00:00
Fix Dataflash driver for the XMEGA-B1 XPLAINED - the Dataflash is connected to the USART module, but requires physical port remapping.
This commit is contained in:
parent
01a80df6c2
commit
7a8b038687
@ -90,6 +90,8 @@
|
|||||||
{
|
{
|
||||||
DATAFLASH_CHIPCS_PORT.DIRSET = DATAFLASH_CHIPCS_MASK;
|
DATAFLASH_CHIPCS_PORT.DIRSET = DATAFLASH_CHIPCS_MASK;
|
||||||
DATAFLASH_CHIPCS_PORT.OUTSET = DATAFLASH_CHIPCS_MASK;
|
DATAFLASH_CHIPCS_PORT.OUTSET = DATAFLASH_CHIPCS_MASK;
|
||||||
|
|
||||||
|
PORTE.REMAP |= PORT_USART0_bm;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Sends a byte to the currently selected dataflash IC, and returns a byte from the dataflash.
|
/** Sends a byte to the currently selected dataflash IC, and returns a byte from the dataflash.
|
||||||
|
Loading…
Reference in New Issue
Block a user