Set PIT constant on PIT init.

This commit is contained in:
OBattler
2024-03-23 06:18:11 +01:00
parent 2466da2161
commit 4884f8664c
2 changed files with 5 additions and 0 deletions

View File

@@ -696,6 +696,9 @@ static void *
pitf_init(const device_t *info)
{
pitf_t *dev = (pitf_t *) malloc(sizeof(pitf_t));
pitf_set_pit_const(dev, PITCONST);
pitf_reset(dev);
dev->flags = info->local;