mbed w/ spi bug fig
Fork of mbed-src by
Revision 209:137057ef9d1e, committed 2014-05-23
- Comitter:
- mbed_official
- Date:
- Fri May 23 11:30:06 2014 +0100
- Parent:
- 208:4557f4bb2dd5
- Child:
- 210:45934c3d812a
- Commit message:
- Synchronized with git revision f2b4c367e8b91e5b6acdf0058629d801456269a2
Full URL: https://github.com/mbedmicro/mbed/commit/f2b4c367e8b91e5b6acdf0058629d801456269a2/
Changed in this revision
targets/hal/TARGET_NORDIC/TARGET_NRF51822/spi_api.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/targets/hal/TARGET_NORDIC/TARGET_NRF51822/spi_api.c Fri May 23 10:30:07 2014 +0100 +++ b/targets/hal/TARGET_NORDIC/TARGET_NRF51822/spi_api.c Fri May 23 11:30:06 2014 +0100 @@ -170,7 +170,7 @@ } void spi_format(spi_t *obj, int bits, int mode, int slave) { - uint32_t config_mode; + uint32_t config_mode = 0; spi_disable(obj,slave); if (bits != 8) {