Always using polling for poweroff (from macppc).
This commit is contained in:
parent
27adad708f
commit
a7628ea793
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: adb_direct.c,v 1.29 1999/11/07 00:12:54 scottr Exp $ */
|
/* $NetBSD: adb_direct.c,v 1.30 1999/11/07 00:16:39 scottr Exp $ */
|
||||||
|
|
||||||
/* From: adb_direct.c 2.02 4/18/97 jpw */
|
/* From: adb_direct.c 2.02 4/18/97 jpw */
|
||||||
|
|
||||||
|
@ -2817,6 +2817,8 @@ adb_poweroff(void)
|
||||||
if (!adbSoftPower)
|
if (!adbSoftPower)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
adb_polling = 1;
|
||||||
|
|
||||||
switch (adbHardware) {
|
switch (adbHardware) {
|
||||||
case ADB_HW_IISI:
|
case ADB_HW_IISI:
|
||||||
output[0] = 0x02; /* 2 byte message */
|
output[0] = 0x02; /* 2 byte message */
|
||||||
|
|
Loading…
Reference in New Issue