clear repeater sel bits before setting -- would cause an issue if we ever switched away from a pixel doubling mode
Make header self-contained.
Needs sys/clock.h. Use a relative include path here to ease src/tools
build.