summaryrefslogtreecommitdiffstatshomepage
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/nrf24l01/nrf24l01test.py4
-rw-r--r--drivers/sdcard/sdcard.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/nrf24l01/nrf24l01test.py b/drivers/nrf24l01/nrf24l01test.py
index 264bc21c8c..a25194d387 100644
--- a/drivers/nrf24l01/nrf24l01test.py
+++ b/drivers/nrf24l01/nrf24l01test.py
@@ -43,7 +43,7 @@ def master():
timeout = True
if timeout:
- print('failed, respones timed out')
+ print('failed, response timed out')
num_failures += 1
else:
@@ -57,7 +57,7 @@ def master():
# delay then loop
pyb.delay(250)
- print('master finished sending; succeses=%d, failures=%d' % (num_successes, num_failures))
+ print('master finished sending; successes=%d, failures=%d' % (num_successes, num_failures))
def slave():
nrf = NRF24L01(SPI(2), Pin('Y5'), Pin('Y4'), payload_size=8)
diff --git a/drivers/sdcard/sdcard.py b/drivers/sdcard/sdcard.py
index 191630aebd..cbf4474158 100644
--- a/drivers/sdcard/sdcard.py
+++ b/drivers/sdcard/sdcard.py
@@ -142,7 +142,7 @@ class SDCard:
buf[5] = crc
self.spi.write(buf)
- # wait for the repsonse (response[7] == 0)
+ # wait for the response (response[7] == 0)
for i in range(_CMD_TIMEOUT):
response = self.spi.read(1, 0xff)[0]
if not (response & 0x80):