Mercurial > ecos
changeset 3238:d2b0a80cf02c
Fix double-baud rate define. Bug spotted and patch provided by Mike Jones.
author | vae |
---|---|
date | Sat, 01 Jun 2013 20:29:45 +0000 |
parents | 70cba7faa5f7 |
children | 8e0cbb70a7ab |
files | packages/devs/flash/freescale/dspi/sst25xx/current/ChangeLog packages/devs/flash/freescale/dspi/sst25xx/current/src/sst25xx_freescale_dspi.c |
diffstat | 2 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 <ilijak@siva.com.mk> + + * 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 <ilijak@siva.com.mk> * 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
--- 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