From b4c855f25a4b4636c966939c9ab6ea7978b9f84d Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Thu, 28 Jun 2012 16:35:01 -0300 Subject: [PATCH] revert nonsensical c9923b428209c868fa2001418e23daaae56f211a That's why sleep deprivation is a bad thing ... --- fw/antorcha.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fw/antorcha.c b/fw/antorcha.c index 2d54f57..02b98da 100644 --- a/fw/antorcha.c +++ b/fw/antorcha.c @@ -136,7 +136,7 @@ int main(void) got = rf_recv(buf, sizeof(buf)); if (got > 2) dispatch(buf, got-2, protos); - if (wake) { + if (wake && !sweeping) { wake = 0; if (state == LEFT) submit_fwd_sweep();