From c3dc8696eb2f2310f6973f55e479742cda3e3730 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Tue, 20 Nov 2018 15:00:09 -0800 Subject: [PATCH] Fix getDelayFromNS() --- xc7/arch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xc7/arch.h b/xc7/arch.h index 9e687146..c64b9634 100644 --- a/xc7/arch.h +++ b/xc7/arch.h @@ -898,7 +898,7 @@ struct Arch : BaseCtx DelayInfo getDelayFromNS(float ns) const { DelayInfo del; - del.delay = ns; + del.delay = delay_t(ns * 1000); return del; }