summaryrefslogtreecommitdiff
path: root/lib/ultralib/src/os/settime.c
blob: b7d14e320c54c8a71bb2b092af2e1ed1612d9699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "PR/os_internal.h"
#include "PR/ultraerror.h"
#include "osint.h"
#include "../io/viint.h"

void osSetTime(OSTime time) {

#ifdef _DEBUG
    if (!__osViDevMgr.active) {
        __osError(ERR_OSSETTIME, 0);
        return;
    }
#endif

    __osCurrentTime = time;
}