Fork of the offical HSP_RPC_GUI firmware

Dependencies:   USBDevice

Fork of MAXREFDES100 firmware for MAX32620HSP

Revision:
1:9490836294ea
Parent:
0:e4a10ed6eb92
--- a/HSP/Devices/MAX14720/MAX14720_RPC.cpp	Tue Oct 25 15:22:11 2016 +0000
+++ b/HSP/Devices/MAX14720/MAX14720_RPC.cpp	Fri Apr 21 12:12:30 2017 -0500
@@ -86,12 +86,9 @@
 int MAX14720_ReadReg(char argStrs[32][32], char replyStrs[32][32]) {
   uint8_t args[1];
   uint8_t reply[1];
-  char address;
-  char value;
-
   ProcessArgs(argStrs, args, sizeof(args));
   // Peripherals::max14720()->readReg((MAX14720::MAX14720_REG_map_t)address,&value);
-  reply[0] = (char)value;
+  reply[0] = 0;
   FormatReply(reply, sizeof(reply), replyStrs);
   return 0;
 }
@@ -108,7 +105,6 @@
   uint8_t reply[1];
 
   ProcessArgs(argStrs, args, sizeof(args));
-  // Peripherals::max14720()->writeReg((MAX14720::MAX14720_REG_map_t)args[0],args[1]);
   reply[0] = 0x80;
   FormatReply(reply, sizeof(reply), replyStrs);
   return 0;