# HG changeset patch # User vae # Date 1370118585 0 # Node ID d2b0a80cf02c2270c5a04673c9391847aedd8562 # Parent 70cba7faa5f7cc0b97ba0036899e9a1df2c32b05 Fix double-baud rate define. Bug spotted and patch provided by Mike Jones. diff --git a/packages/devs/flash/freescale/dspi/sst25xx/current/ChangeLog b/packages/devs/flash/freescale/dspi/sst25xx/current/ChangeLog --- a/packages/devs/flash/freescale/dspi/sst25xx/current/ChangeLog +++ b/packages/devs/flash/freescale/dspi/sst25xx/current/ChangeLog @@ -1,14 +1,20 @@ +2013-06-01 Ilija Kocho + + * src/sst25_freescale_dspi.c: + Fix double-baud rate define. Bug spotted and patch provided by Mike Jones. + [ Bugzilla 1001855 ] + 2012-01-06 Ilija Kocho * cdl/flash_sst25xx_freescale_dspi.cdl * src/sst25_freescale_dspi.c: - New package -- Disk driver fot Freescale DSPI [Bugzilla 1001450] + New package -- Disk driver for Freescale DSPI [Bugzilla 1001450] //=========================================================================== // ####GPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. -// Copyright (C) 2012 Free Software Foundation, Inc. +// Copyright (C) 2012, 2013 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/packages/devs/flash/freescale/dspi/sst25xx/current/src/sst25xx_freescale_dspi.c b/packages/devs/flash/freescale/dspi/sst25xx/current/src/sst25xx_freescale_dspi.c --- a/packages/devs/flash/freescale/dspi/sst25xx/current/src/sst25xx_freescale_dspi.c +++ b/packages/devs/flash/freescale/dspi/sst25xx/current/src/sst25xx_freescale_dspi.c @@ -64,7 +64,7 @@ #define SST25XX_SPI_CLOCK_POL 0 #define SST25XX_SPI_CLOCK_PHASE 0 -#ifdef CYGHWR_DEVS_SST25XX_DEV0_SPI_USE_DBR +#ifdef CYGHWR_DEVS_FLASH_SST25XX_DEV0_SPI_USE_DBR # define SST25XX_SPI_DBR_DEV0 1 #else # define SST25XX_SPI_DBR_DEV0 0