/** * Copyright (c) 2022 Dominic Masters * * This software is released under the MIT License. * https://opensource.org/licenses/MIT */ #include "time.h" uint16_t TIME_CURRENT; uint16_t TIME_FUTURE; uint8_t TIME_FUTURE_TYPE; void timeInit() { TIME_CURRENT = 0; TIME_FUTURE = 0; TIME_FUTURE_TYPE = TIME_FUTURE_TYPE_NULL; } void timeUpdate() { TIME_CURRENT++; }