Skip to content

Commit 409d244

Browse files
author
NoahAndrews
committed
Add TODO
1 parent 26981f3 commit 409d244

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/canWrapper.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ void waitForNotifierAlarm(const Napi::CallbackInfo& info) {
627627
int32_t status;
628628

629629
HAL_UpdateNotifierAlarm(m_notifier, HAL_GetFPGATime(&status) + time, &status);
630+
// TODO(Noah): Don't discard the returned value (this function is marked as [nodiscard])
630631
HAL_WaitForNotifierAlarm(m_notifier, &status);
631632
cb.Call(info.Env().Global(), {info.Env().Null(), Napi::Number::New(info.Env(), status)});
632633
}

0 commit comments

Comments
 (0)