Skip to content

Commit

Permalink
- Remove NTP.
Browse files Browse the repository at this point in the history
  • Loading branch information
Koi-3088 committed Mar 26, 2022
1 parent a381333 commit 8c528d4
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 130 deletions.
10 changes: 0 additions & 10 deletions sys-botbase/source/commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "commands.h"
#include "util.h"
#include "time.h"
#include "ntp.h"

//Controller:
bool bControllerIsInitialised = false;
Expand Down Expand Up @@ -502,12 +501,3 @@ void resetTime()
if (R_FAILED(rt))
fatalThrow(rt);
}

void resetTimeNTP()
{
curTime = 0;
origTime = 0;
Result ts = timeSetCurrentTime(TimeType_NetworkSystemClock, ntpGetTime());
if (R_FAILED(ts))
fatalThrow(ts);
}
1 change: 0 additions & 1 deletion sys-botbase/source/commands.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,3 @@ void key(HiddbgKeyboardAutoPilotState* states, u64 sequentialCount);
void clickSequence(char* seq, u8* token);
void dateSkip();
void resetTime();
void resetTimeNTP();
3 changes: 0 additions & 3 deletions sys-botbase/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1032,9 +1032,6 @@ int argmain(int argc, char **argv)
if(!strcmp(argv[0], "resetTime"))
resetTime();

if(!strcmp(argv[0], "resetTimeNTP"))
resetTimeNTP();

return 0;
}

Expand Down
57 changes: 0 additions & 57 deletions sys-botbase/source/ntp.c

This file was deleted.

59 changes: 0 additions & 59 deletions sys-botbase/source/ntp.h

This file was deleted.

0 comments on commit 8c528d4

Please sign in to comment.