Skip to content

Commit

Permalink
chore: TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertGemmaJr committed Dec 11, 2023
1 parent 29935ff commit 0ed2e8e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/markup/photodiode.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@ function photodiodeSpot(taskCode) {
}

if (config.USE_PHOTODIODE) {
const blinkTime = 40; // TODO: Get blink time based off fixation time?
// TODO: blinkTime in config.json
// TODO #354: numBlinks in trigger config too
const blinkTime = 40;
let numBlinks = taskCode;
if (taskCode < eventCodes.open_task) numBlinks = 1; // TODO: numBlinks inside trigger.js too
if (taskCode < eventCodes.open_task) numBlinks = 1;
repeatPulseFor(blinkTime, numBlinks);
if (ipcRenderer) ipcRenderer.send("trigger", taskCode);
}
Expand Down

0 comments on commit 0ed2e8e

Please sign in to comment.