Fix to have load pin working with SPI1.

Dependencies:   mbed

Fork of Max7221 by Dwayne Dilbeck

Revision:
8:3f5901f2f813
Parent:
7:a160cb7cdd86
Child:
9:75bddbfbb692
--- a/Max7221.cpp	Mon Nov 23 11:28:44 2015 +0000
+++ b/Max7221.cpp	Mon Nov 23 11:38:17 2015 +0000
@@ -3,7 +3,7 @@
 * @brief MAX7219/7221 driver class.
 * 
 * @author Grzegorz Kaczmarek
-* @comment Code inspired on erlier Dwayne S. Dilbeck's work
+* @comment Code inspired on earlier Dwayne S. Dilbeck's work
 * @date 20/11/2015
 */
 
@@ -46,7 +46,7 @@
     if(m_position > 0) {
         i = m_position;
         while(i--) {
-            WriteRaw(max7219_reg_noop, 0x0);
+            WriteRaw(max7219_reg_noop, 0x00);
         }
     }
     CsHigh();