Clock Rate Question

1024 is the prescaler divide factor, 256 is the divide because its an 8-bit counter.

The code doesn't match the comment, someone edited out CS20 and forgot to change the comment?