sparkfun / SparkFun_MG2639_Cellular_Shield_Arduino_Library

Arduino library for SparkFun's MG2639 Cellular Shield. Send and receive text messages, make phone calls, and connect over GPRS.
7 stars 3 forks source link

begin() now passing through return value from begin(unsigned long baud) #4

Closed gibberin closed 7 years ago

gibberin commented 7 years ago

When called with no parameter the begin() method calls begin(unsigned long baud) with a default value but it failed to pass on the return value of that call resulting in all calls to begin() returning 0 which may erroneously indicate a failure to initialize the hardware.

jimblom commented 7 years ago

Nice catch. Thanks!