wip
Example Action / Lint (push) Has been cancelled
Example Action / BuildAndTest (push) Has been cancelled

This commit is contained in:
2026-01-16 10:08:33 +01:00
parent 5efd407a1b
commit 72b6affcf9
+3 -3
View File
@@ -17,7 +17,7 @@
/* Sample rate */
#define SOFT_PROTON_SAMPLE_RATE 0.1
/* To allow setting debug pring from iocsh */
/* To allow setting debug pring from iocsh */
static int softProtonDebug=0;
epicsExportAddress(int, softProtonDebug);
@@ -36,7 +36,7 @@ struct spc_internal {
/* Enum with values for all commands
* this has to match the what's in the mbbi in the database*/
enum commands {
enum commands {
NONE = 0,
COUNT_PRESET = 1,
TIME_PRESET = 2,
@@ -189,7 +189,7 @@ static long processEmulatedCounter(struct aSubRecord *psub)
*monitor_count_out = spc->monitor_count;
*elapsed_time_out = spc->elapsed_time;
return 0;
} else if (((spc->status == COUNTING || spc->status == LOW_RATE)
} else if (((spc->status == COUNTING || spc->status == LOW_RATE)
&& spc->command_trig == PAUSE) ||
(spc->status == PAUSED && spc->command_trig == NONE)) {
msg_txt_out = "Stopping!";