summaryrefslogtreecommitdiff
path: root/Radio/Utils/WaterfallFile/SimpleImage.swift
diff options
context:
space:
mode:
authorArturs Artamonovs <arturs.artamonovs@protonmail.com>2025-01-06 12:30:49 +0000
committerArturs Artamonovs <arturs.artamonovs@protonmail.com>2025-01-06 12:30:49 +0000
commita0d12ecbac8fe327d1dcd4580fee594e24d4191b (patch)
tree9a7cef9ed0de080bb8c19912f678497a4fca6a86 /Radio/Utils/WaterfallFile/SimpleImage.swift
parentf923a3824561c6cf200c638e3d44d1cbf4adf7d8 (diff)
downloadPrySDR-main.tar.gz
PrySDR-main.zip
Waterfall: UI drawing from filemain
Diffstat (limited to 'Radio/Utils/WaterfallFile/SimpleImage.swift')
-rw-r--r--Radio/Utils/WaterfallFile/SimpleImage.swift2
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
}