diff options
author | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2025-01-06 12:30:49 +0000 |
---|---|---|
committer | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2025-01-06 12:30:49 +0000 |
commit | a0d12ecbac8fe327d1dcd4580fee594e24d4191b (patch) | |
tree | 9a7cef9ed0de080bb8c19912f678497a4fca6a86 /Radio/Utils/WaterfallFile/SimpleImage.swift | |
parent | f923a3824561c6cf200c638e3d44d1cbf4adf7d8 (diff) | |
download | PrySDR-a0d12ecbac8fe327d1dcd4580fee594e24d4191b.tar.gz PrySDR-a0d12ecbac8fe327d1dcd4580fee594e24d4191b.zip |
Waterfall: UI drawing from filemain
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 } |