Add a delay() in adb_read_date_time() so that my Apus2000 can get

correct date in inittodr().
This commit is contained in:
tsutsui 2002-04-29 10:15:29 +00:00
parent 86477819ce
commit 8f9d2b8500
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: adb_direct.c,v 1.21 2002/02/23 10:47:16 dbj Exp $ */
/* $NetBSD: adb_direct.c,v 1.22 2002/04/29 10:15:29 tsutsui Exp $ */
/* From: adb_direct.c 2.02 4/18/97 jpw */
@ -1892,6 +1892,7 @@ adb_read_date_time(unsigned long *time)
while (0 == flag) /* wait for result */
;
delay(10);
memcpy(time, output + 1, 4);
return 0;