Skip to content

Instantly share code, notes, and snippets.

@aviks
Created Sep 16, 2017
Embed
What would you like to do?
git diff
diff --git a/src/led.jl b/src/led.jl
index 549a546..0380f6e 100644
--- a/src/led.jl
+++ b/src/led.jl
@@ -30,10 +30,10 @@ end
-typealias U5 UFixed{UInt8,5}
-typealias U6 UFixed{UInt8,6}
+const U5 = Normed{UInt8, 5}
+const U6 = Normed{UInt8, 6}
-immutable RGB565 <: AbstractRGB{U8}
+immutable RGB565 <: AbstractRGB{Normed{UInt8, 8}}
data::UInt16
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment