Skip to content

Commit 206b3f4

Browse files
committed
Remove unused model
1 parent 5e5a377 commit 206b3f4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ArduinoCellular.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ void ArduinoCellular::begin() {
2121
String modemInfo = this ->sendATCommand("I");
2222
if(modemInfo.indexOf("EC200A") > 0){
2323
this->model = ModemModel::EC200;
24-
} else if (modemInfo.indexOf("EG95") > 0){
25-
this->model = ModemModel::EG95;
24+
} else if (modemInfo.indexOf("EG25") > 0){
25+
this->model = ModemModel::EG25;
2626
} else {
2727
this->model = ModemModel::Unsupported;
2828
}
@@ -91,7 +91,7 @@ bool ArduinoCellular::connect(String apn, String username, String password){
9191

9292

9393
Location ArduinoCellular::getGPSLocation(unsigned long timeout){
94-
if (model == ModemModel::EG95){
94+
if (model == ModemModel::EG25){
9595
float latitude = 0.00000;
9696
float longitude = 0.00000;
9797
unsigned long startTime = millis();

src/ArduinoCellular.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*/
2828
enum ModemModel {
2929
EC200, /**< Quectel EC200 modem. */
30-
EG95, /**< Quectel EG95 modem. */
30+
EG25, /**< Quectel EG25 modem. */
3131
Unsupported /**< Unsupported modem model. */
3232
};
3333

0 commit comments

Comments
 (0)