panda-official / TimeSwipe

PANDA Timeswipe driver and firmware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PANDA_TIMESWIPE_GPIO_PULL

user706 opened this issue · comments

What happened?

What exactly is happening here?

  static void pull_gpio(const unsigned pin, const unsigned high) noexcept
  {
    PANDA_TIMESWIPE_GPIO_PULL = high << pin;
  }

The function is called here:
pull_gpio(pin, 0);

Note that high is 0 so essentially, what's happening is:
PANDA_TIMESWIPE_GPIO_PULL = 0;

Is this correct??

Thanks.

Version

latest

OS

Linux

Programming Language

No response

Snippet to repeat the bug

No response

Logs

No response

Attachments

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct