WIP: tdc001: fix typo and add missing define