Compare commits
2 commits
87c50652ff
...
a3bf7a7275
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a3bf7a7275 | ||
|
|
0265ee85a2 |
2 changed files with 4 additions and 4 deletions
|
|
@ -208,7 +208,7 @@ int pressure_cmd(struct command *cmd, const struct command_par *par)
|
|||
e = ssp_error("bate submit", c);
|
||||
goto error;
|
||||
}
|
||||
if (what & 0x0040) {
|
||||
if (what & 0x0080) {
|
||||
idx = calib_pressure(what&3);
|
||||
if (idx < 0) {
|
||||
code++;
|
||||
|
|
|
|||
6
ssp.c
6
ssp.c
|
|
@ -345,7 +345,7 @@ int ssp_run_batch()
|
|||
if (c == ssp_b_job)
|
||||
ssel_delay(f);
|
||||
}
|
||||
if (f & ssp_b_assert || c == ssp_b_config) {
|
||||
if (f & ssp_b_assert) {
|
||||
ssp_assert_ssel();
|
||||
if (c == ssp_b_job)
|
||||
ssel_delay(f);
|
||||
|
|
@ -354,8 +354,8 @@ int ssp_run_batch()
|
|||
static const struct ssp_batch *gosub_return;
|
||||
static unsigned int repeats, gosub_repeats;
|
||||
if (c != ssp_b_job && c != ssp_b_gosub
|
||||
|| repeats++ >= f & ssp_b_repeat
|
||||
|| ssp_b_whilebuf & !job.buf_count) {
|
||||
|| repeats++ >= (f & ssp_b_repeat)
|
||||
|| ssp_b_whilebuf && !job.buf_count) {
|
||||
// we did all repeats … advance to the next job
|
||||
repeats = 0;
|
||||
ssp_batch++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue