Fix warning about reaching end of non-void function.

This commit is contained in:
Larry 2014-10-19 11:30:28 +13:00
parent 04fc848c26
commit 4348639804
1 changed files with 2 additions and 0 deletions

View File

@ -382,6 +382,8 @@ uint8_t Adafruit_GPS::parseHex(char c) {
return 0; return 0;
if (c <= 'F') if (c <= 'F')
return (c - 'A')+10; return (c - 'A')+10;
// if (c > 'F')
return 0;
} }
boolean Adafruit_GPS::waitForSentence(char *wait4me, uint8_t max) { boolean Adafruit_GPS::waitForSentence(char *wait4me, uint8_t max) {