NM500 / NeuroShield

Dependents:   NeuroShield_SimpleScript NeuroShield_andIMU NeuroShield_Gesture_Recognition

Revision:
2:2812bcbcaaea
Parent:
1:0c6bf23f2fc8
Child:
3:6163399b611e
--- a/NeuroShield.cpp	Thu Jan 25 02:20:37 2018 +0000
+++ b/NeuroShield.cpp	Fri Jun 22 06:17:56 2018 +0000
@@ -32,7 +32,8 @@
  */
 
 /*
- * Revision History (v1.1.3)
+ * Revision History (v1.1.4)
+ * 2018/06/22    v1.1.4    Minor changes
  * 2018/01/03    v1.1.3    Add burst-mode read
  * 2017/12/20    v1.1.2    Modify the structure of neurondata
  * 2017/12/11    v1.1.1    Add Powersave command and Minor changes to the library
@@ -609,6 +610,7 @@
             data++;
         }
     }
+    POWERSAVE;
 }
 
 //---------------------------------------------------------------------
@@ -646,6 +648,7 @@
 void NeuroShield::writeCompVector(uint16_t* data, uint16_t size)
 {
     spi.writeVector16(data, size);
+    POWERSAVE;
 }
 
 // --------------------------------------------------------