Make the test for success when programming single blocks the same as that for programming multiple blocks (i.e. the response must be SPI_DATA_ACCEPTED).  Otherwise a response of zero (e.g. from a slow SD card) was being treated as success.
Make the test for success when programming single blocks the same as that for programming multiple blocks (i.e. the response must be SPI_DATA_ACCEPTED).  Otherwise a response of zero (e.g. from a slow SD card) was being treated as success.

c1728p9/mbed-os,betzw/mbed-os,c1728p9/mbed-os,kjbracey-arm/mbed,betzw/mbed-os,mbedmicro/mbed,mbedmicro/mbed,andcor02/mbed-os,betzw/mbed-os,c1728p9/mbed-os,c1728p9/mbed-os,c1728p9/mbed-os,betzw/mbed-os,kjbracey-arm/mbed,betzw/mbed-os,kjbracey-arm/mbed,andcor02/mbed-os,andcor02/mbed-os,andcor02/mbed-os,andcor02/mbed-os,betzw/mbed-os,c1728p9/mbed-os,mbedmicro/mbed,mbedmicro/mbed,andcor02/mbed-os,kjbracey-arm/mbed,mbedmicro/mbed