Skip to content

Commit 1e19e07

Browse files
committed
Fix in simulate.c
1 parent 084a843 commit 1e19e07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/simulate.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ int main(int argc, char const *argv[]) {
285285
axis_speed(az), delta, sim->rapid ? 'R' : 'I');
286286
}
287287
fflush(stdout);
288-
if (sim->rapid && sim->program_run) {
288+
if (sim->program_run) {
289289
sprintf(payload, "%f", delta);
290290
mosquitto_publish(sim->mqtt, NULL, sim->pub_topic_err, strlen(payload),
291291
payload, 0, 0);

0 commit comments

Comments
 (0)