Altered line 310 to include (byte) typecast on CMD_ADC_READ since it was throwing errors when compiling on a Mac install. This shouldn't change operation in any way.