Skip to content

Commit 4ff8a1a

Browse files
committed
Minor refactor
1 parent 2f09eca commit 4ff8a1a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Lifx/Lan.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ import Data.Fixed
6767
import Data.Foldable
6868
import Data.Functor
6969
import Data.Maybe
70-
import Data.Proxy
7170
import Data.Time
7271
import Data.Word
7372
import Network.Socket
@@ -598,7 +597,7 @@ sendMessageAndWait d m = do
598597
SetPower{} -> Nothing
599598
SetColor _ t -> Just t
600599
SetLightPower _ t -> Just t
601-
timeMicros t = round $ t * fromInteger (resolution $ Proxy @E6)
600+
timeMicros t = round $ t * 1_000_000
602601

603602
{- Util -}
604603

0 commit comments

Comments
 (0)