Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/stand/gzboot Fix a silly bug in the propello...
details: https://anonhg.NetBSD.org/src/rev/8c7bf34f9d8e
branches: trunk
changeset: 522643:8c7bf34f9d8e
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sat Feb 23 17:25:32 2002 +0000
description:
Fix a silly bug in the propellor spinning code.
diffstat:
sys/arch/evbarm/stand/gzboot/gzboot.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 45b93543a690 -r 8c7bf34f9d8e sys/arch/evbarm/stand/gzboot/gzboot.c
--- a/sys/arch/evbarm/stand/gzboot/gzboot.c Sat Feb 23 17:18:54 2002 +0000
+++ b/sys/arch/evbarm/stand/gzboot/gzboot.c Sat Feb 23 17:25:32 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gzboot.c,v 1.1 2002/02/23 05:41:14 thorpej Exp $ */
+/* $NetBSD: gzboot.c,v 1.2 2002/02/23 17:25:32 thorpej Exp $ */
/*
* Copyright (c) 2002 Wasabi Systems, Inc.
@@ -171,7 +171,7 @@
if (len > (s->srcsize - s->srcoff))
len = s->srcsize - s->srcoff;
- if ((s->spinny & 255) == 0)
+ if ((s->spinny++ & 7) == 0)
twiddle();
memcpy(buf, s->srcbuf + s->srcoff, len);
s->srcoff += len;
Home |
Main Index |
Thread Index |
Old Index