Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: WizFi250_AP_HelloWorld
Fork of mbed-src by
Diff: targets/hal/TARGET_NORDIC/TARGET_NRF51822/spi_api.c
- Revision:
- 209:137057ef9d1e
- Parent:
- 104:a6a92e2e5a92
- Child:
- 227:7bd0639b8911
--- 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) {
