Created
September 16, 2017 13:53
-
-
Save aviks/19b14cf839dcf41a230bb6a1d3a27133 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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