Skip to content

Instantly share code, notes, and snippets.

@aviks
Created September 16, 2017 13:53
Show Gist options
  • Save aviks/19b14cf839dcf41a230bb6a1d3a27133 to your computer and use it in GitHub Desktop.
Save aviks/19b14cf839dcf41a230bb6a1d3a27133 to your computer and use it in GitHub Desktop.
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