Fix Dataflash driver for the XMEGA-B1 XPLAINED - the Dataflash is connected to the...
authorDean Camera <dean@fourwalledcubicle.com>
Mon, 13 Feb 2012 19:59:31 +0000 (19:59 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Mon, 13 Feb 2012 19:59:31 +0000 (19:59 +0000)
LUFA/Drivers/Board/XMEGA/B1_XPLAINED/Dataflash.h

index e12f969..f1e6da5 100644 (file)
@@ -90,6 +90,8 @@
                        {
                                DATAFLASH_CHIPCS_PORT.DIRSET = 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.