tmp006: fix ccpcheck warnings, move constants to tmp006.h