Removed unused time library
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
#include <Wire.h>
|
#include <Wire.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <TFT_eSPI.h> // https://github.com/Bodmer/TFT_eSPI
|
#include <TFT_eSPI.h> // https://github.com/Bodmer/TFT_eSPI
|
||||||
#include <TimeLib.h> // https://github.com/PaulStoffregen/Time
|
|
||||||
#include <Hash.h> // https://github.com/bbx10/Hash_tng
|
#include <Hash.h> // https://github.com/bbx10/Hash_tng
|
||||||
#include "src/WiFiConnect.h"
|
#include "src/WiFiConnect.h"
|
||||||
#include "src/WiFiConnectParam.h"
|
#include "src/WiFiConnectParam.h"
|
||||||
|
|||||||
@@ -725,7 +725,6 @@ void TEF6686::readRDS(byte showrdserrors)
|
|||||||
rds.hour += ((rds.rdsC << 4) & 0x0010);
|
rds.hour += ((rds.rdsC << 4) & 0x0010);
|
||||||
rds.minute = (rds.rdsD >> 6) & 0x3f;
|
rds.minute = (rds.rdsD >> 6) & 0x3f;
|
||||||
rds.offset = ((bitRead(rds.rdsD, 5) ? -rds.rdsD & 0x3f : rds.rdsD & 0x3f) / 2);
|
rds.offset = ((bitRead(rds.rdsD, 5) ? -rds.rdsD & 0x3f : rds.rdsD & 0x3f) / 2);
|
||||||
setTime(rds.hour, rds.minute, 0, rds.day, rds.month, rds.year);
|
|
||||||
rds.hour += rds.offset;
|
rds.hour += rds.offset;
|
||||||
rds.hour = (((byte)rds.hour + 24) % 24);
|
rds.hour = (((byte)rds.hour + 24) % 24);
|
||||||
rds.hasCT = true;
|
rds.hasCT = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user