Skip to content

line MsTimer2.cpp(92) TCCR2 |= ((1<<CS22) && (1<<CS20)); looks wrong to me #6

Description

@brewmanz

Description

MsTimer2.cpp, line 92 (MsTimer2::set. __AVR_ATmega8__) of
TCCR2 |= ((1<<CS22) && (1<<CS20));
looks like should maybe be
TCCR2 |= ((1<<CS22) | (1<<CS20));
but I haven't checked its functioning

Steps To Reproduce Problem

Haven't reproduce; just the code looks wrong

Hardware & Software

I expect it's just AVR ATmega8

Arduino Sketch

Errors or Incorrect Output

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions