Skip to content

Commit

Permalink
Updating to new RawTime
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch committed Oct 14, 2024
1 parent fff2240 commit 7128454
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Drv/LinuxGpioDriver/LinuxGpioDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ void LinuxGpioDriver ::pollLoop() {
FwSizeType read_bytes = ::read(this->m_fd, &event_data, sizeof event_data);
if (read_bytes == sizeof event_data) {
// TODO: raw time from Thomas
Svc::TimerVal timestamp;
Os::RawTime timestamp;
timestamp.take();
this->gpioInterrupt_out(0, timestamp);
}
Expand Down
2 changes: 1 addition & 1 deletion Drv/LinuxGpioDriver/LinuxGpioDriverStub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Drv::GpioStatus LinuxGpioDriver ::gpioWrite_handler(const NATIVE_INT_TYPE portNu
void LinuxGpioDriver ::pollLoop() {
// Loop forever
while (this->getRunning()) {
Os::Task::delay(Fw::Time(GPIO_POLL_TIMEOUT / 1000, (GPIO_POLL_TIMEOUT % 1000) * 1000));
Os::Task::delay(Fw::TimeInterval(GPIO_POLL_TIMEOUT / 1000, (GPIO_POLL_TIMEOUT % 1000) * 1000));
}
}

Expand Down

0 comments on commit 7128454

Please sign in to comment.