dwtime: revise call to dw_transaction for recent call change
authorBrett Gordon <beretta42@gmail.com>
Thu, 23 Jun 2016 16:57:46 +0000 (12:57 -0400)
committerBrett Gordon <beretta42@gmail.com>
Thu, 23 Jun 2016 16:57:54 +0000 (12:57 -0400)
Kernel/platform-coco3/dwtime.c

index 9b54dd6..1556e65 100644 (file)
@@ -16,7 +16,7 @@ static int get_time( uint8_t *tbuf )
        int ret;
 
        tbuf[0]=0x23;
-       ret=dw_transaction( tbuf, 1, tbuf, 6 );
+       ret=dw_transaction( tbuf, 1, tbuf, 6, 0 );
        if( ret ) return -1;
        secs = tbuf[5];
        return 0;