Skip to content

Commit d3866c5

Browse files
committed
Cellular use getTime() to read modem UNIX timestamp
1 parent 7d68535 commit d3866c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CellularConnectionHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ CellularConnectionHandler::CellularConnectionHandler(const char * pin, const cha
4141

4242
unsigned long CellularConnectionHandler::getTime()
4343
{
44-
return _cellular.getCellularTime().getUNIXTimestamp();
44+
return _cellular.getTime();
4545
}
4646

4747
UDP & CellularConnectionHandler::getUDP()

0 commit comments

Comments
 (0)