We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 747629c commit a27c33aCopy full SHA for a27c33a
+hw/devices.m
@@ -34,6 +34,13 @@
34
end
35
rig.useDaq = pick(rig, 'useDaq', 'def', true);
36
37
+%% If Git is installed, determine hash of latest commit to code
38
+[status, hash] = system(sprintf('git -C "%s" rev-parse HEAD',...
39
+ fileparts(which('addRigboxPaths'))));
40
+if status == 0
41
+ rig.GitHash = hash;
42
+end
43
+
44
%% Configure common devices, if present
45
configure('mouseInput');
46
configure('lickDetector');
0 commit comments