Update ui_looking_glass_app.hpp

size of db is uint8_t, adjusting live-v and peak-v array to uint8_t
This commit is contained in:
gullradriel 2023-04-11 20:41:42 +02:00 committed by GitHub
parent 99c26c3b7b
commit ec7a77896a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,7 +93,7 @@ namespace ui
uint8_t min_color_power { 0 };
uint32_t pixel_index { 0 };
std::array<Color, 240> spectrum_row = { 0 };
std::array<int16_t, 240> spectrum_data = { 0 };
std::array<uint8_t, 240> spectrum_data = { 0 };
ChannelSpectrumFIFO* fifo { nullptr };
uint8_t max_power = 0;
int32_t steps = 250 ; // default of 250 Mhz steps