From db199b3ab42b416fa4153003748266bf6c19e242 Mon Sep 17 00:00:00 2001 From: roger Date: Sat, 6 Feb 1999 10:56:09 +0000 Subject: Changed to use IICBUS_REPEATED_START Submitted by: Changed to use IICBUS_REPEATED_START --- sys/dev/iicbus/iiconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/dev/iicbus/iiconf.c b/sys/dev/iicbus/iiconf.c index 353a207..b84a6cd 100644 --- a/sys/dev/iicbus/iiconf.c +++ b/sys/dev/iicbus/iiconf.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: iiconf.c,v 1.4 1999/01/09 18:08:24 nsouch Exp $ + * $Id: iiconf.c,v 1.5 1999/01/28 15:59:15 roger Exp $ * */ #include @@ -209,7 +209,7 @@ iicbus_repeated_start(device_t bus, u_char slave, int timeout) if (!sc->started) return (EINVAL); /* bus should have been already started */ - if (!(error = IICBUS_START(device_get_parent(bus), slave, timeout))) + if (!(error = IICBUS_REPEATED_START(device_get_parent(bus), slave, timeout))) sc->started = slave; else sc->started = 0; -- cgit v1.1