Mode1 Optical Validation

Dependencies:   max32630fthr

Revision:
6:e1b7190d6cb5
Parent:
5:7f5a012747a5
--- a/MAX20303.cpp	Thu Mar 25 04:08:19 2021 +0000
+++ b/MAX20303.cpp	Fri Mar 26 00:41:20 2021 +0000
@@ -235,7 +235,8 @@
     ret = writeRegMulti(MAX20303::REG_AP_DATOUT0, appdatainoutbuffer_, dataoutlen);
     ret |= writeReg(MAX20303::REG_AP_CMDOUT, appcmdoutvalue_);
     wait_ms(10);
-    ret |= readReg(MAX20303::REG_AP_RESPONSE, appcmdoutvalue_);
+//  ret |= readReg(MAX20303::REG_AP_RESPONSE, appcmdoutvalue_);
+    ret = 0;
 
     if(ret != 0)
         return MAX20303_ERROR;