diff options
Diffstat (limited to 'Radio/Utils/WaterfallFile/SimpleImage.swift')
-rw-r--r-- | Radio/Utils/WaterfallFile/SimpleImage.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Radio/Utils/WaterfallFile/SimpleImage.swift b/Radio/Utils/WaterfallFile/SimpleImage.swift index c05709f..4f1bed8 100644 --- a/Radio/Utils/WaterfallFile/SimpleImage.swift +++ b/Radio/Utils/WaterfallFile/SimpleImage.swift @@ -32,7 +32,7 @@ public class SimpleImage { func drawPalletLine(line: Int, pixelLine:[Float]) { for i in 0..<self.width { var pixel = pixelLine[i] - if pixel>256.0 { + if pixel>255.0 { //print("values to high") pixel = 255.0 } |