Skip to content

Commit

Permalink
Merge pull request #521 from brown-ccv/ref-sep-EEG
Browse files Browse the repository at this point in the history
ref: change EEG to EVENT_CODES
  • Loading branch information
YUUU23 authored Aug 6, 2024
2 parents abcf8a3 + dd190a9 commit 4bf7642
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions env/.env.clinic
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VITE_USE_EEG="true"
VITE_USE_PHOTODIODE="true"
VITE_USE_EVENT_CODES="true"
VITE_USE_PHOTODIODE="true"
4 changes: 2 additions & 2 deletions src/config/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const USE_ELECTRON = window.electronAPI !== undefined; // Whether or not the exp
const USE_PROLIFIC = getProlificId() !== null; // Whether or not the experiment is running with Prolific
const USE_FIREBASE = import.meta.env.VITE_FIREBASE === "true"; // Whether or not the experiment is running in Firebase (web app)
const USE_CAMERA = import.meta.env.VITE_VIDEO === "true" && USE_ELECTRON; // Whether or not to use video recording
const USE_EEG = import.meta.env.VITE_USE_EEG === "true" && USE_ELECTRON; // Whether or not the EEG/event marker is available (TODO @brown-ccv: This is only used for sending event codes)
const USE_EVENT_CODES = import.meta.env.VITE_USE_EEG === "true" && USE_ELECTRON; // Whether or not the EEG/event marker is available (TODO @brown-ccv: This is only used for sending event codes)
const USE_PHOTODIODE = import.meta.env.VITE_USE_PHOTODIODE === "true" && USE_ELECTRON; // whether or not the photodiode is in use

// Configuration object for Honeycomb
Expand All @@ -16,6 +16,6 @@ export default {
USE_FIREBASE,
// Equipment
USE_PHOTODIODE,
USE_EEG,
USE_EVENT_CODES,
USE_CAMERA,
};

0 comments on commit 4bf7642

Please sign in to comment.