Skip to content

Commit 44b1532

Browse files
committed
bug fix
1 parent cae2ed8 commit 44b1532

File tree

4 files changed

+11
-13
lines changed

4 files changed

+11
-13
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ This Arduino library allows you to use Deneyap GPS and GLONASS Locator with I2C
3737
- `library.properties ` General library properties for the Arduino package manager
3838

3939
## Version History
40+
1.0.1 - bug fix
41+
4042
1.0.0 - initial release
4143

4244
## :rocket:Hardware Connections

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Deneyap GPS ve GLONASS Konum Belirleyici
2-
version=1.0.0
2+
version=1.0.1
33
author=RFtek Electronics <[email protected]>
44
maintainer=Turkish Technnology Team Foundation (T3)
55
sentence=Arduino library for Deneyap GPS and GLONASS Locator

src/Deneyap_GPSveGLONASSkonumBelirleyici.cpp

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
@file Deneyap_GPSveGLONASSkonumBelirleyici.cpp
44
@mainpage Deneyap GPS and GLONASS Locator Arduino library source file
55
@maintainer RFtek Electronics <[email protected]>
6-
@version v1.0.0
7-
@date July 18, 2022
6+
@version v1.0.1
7+
@date September 6, 2022
88
@brief Includes functions to control Deneyap GPS and GLONASS Locator
99
Arduino library
10-
1110
Library includes:
1211
--> Configuration functions
1312
--> Data manipulation functions
@@ -117,10 +116,8 @@ uint8_t GPS::Read(String configMessage)
117116
delay(200);
118117
config++;
119118
}
120-
121119
_dataPacket.command = (uint8_t)READ;
122120
_dataPacket.dataSize = 1;
123-
124121
return I2C_ReadData(&_dataPacket);
125122
}
126123
*/
@@ -187,10 +184,9 @@ uint8_t GPS::I2C_ReadData(Gps_DataPacket_TypeDef *dataPacket) {
187184
_i2cPort->read();
188185

189186
for (uint8_t i = 0; i < dataSize; i++) {
190-
Serial.print((char)_i2cPort->read());
191-
192-
// if(gps.encode((char)_i2cPort->read()))
193-
// displayInfo();
187+
//Serial.print((char)_i2cPort->read());
188+
if(gps.encode((char)_i2cPort->read()))
189+
displayInfo();
194190
}
195191
}
196192

src/Deneyap_GPSveGLONASSkonumBelirleyici.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
*****************************************************************************
33
@file Deneyap_GPSveGLONASSkonumBelirleyici.h
44
@mainpage Deneyap GPS and GLONASS Locator Arduino library header file
5-
@version v1.0.0
6-
@date July 18, 2022
5+
@version v1.0.1
6+
@date September 6, 2022
77
@brief This file contains all function prototypes and macros
88
for Deneyap GPS and GLONASS Locator Arduino library
99
*****************************************************************************
@@ -119,4 +119,4 @@ class GPS {
119119
void displayInfo();
120120
};
121121

122-
#endif /* __GPS_H */
122+
#endif /* __GPS_H */

0 commit comments

Comments
 (0)