From 11d21081b4321ff4a1078b728911fe15fea94509 Mon Sep 17 00:00:00 2001 From: Daniel Campora Date: Tue, 11 Aug 2015 16:06:43 +0200 Subject: cc3200: Rework SD API. Increase heap to avoid malloc failures. --- docs/wipy/quickref.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/wipy') diff --git a/docs/wipy/quickref.rst b/docs/wipy/quickref.rst index 2acbaa541..358020d94 100644 --- a/docs/wipy/quickref.rst +++ b/docs/wipy/quickref.rst @@ -172,10 +172,10 @@ See :ref:`pyb.SD `. :: from pyb import SD - # SD card pins need special configuration so we pass 'em to the constructor + # SD card pins need special configuration so we pass them to the constructor # data pin, data af, clock pin, clock af, cmd pin, cmd af - sd = pyb.SD('GP15', 8, 'GP10', 6, 'GP11', 6) - sd.enable() + sd = pyb.SD(('GP15', 8, 'GP10', 6, 'GP11', 6)) + sd.mount() WLAN (WiFi) ----------- -- cgit v1.2.3