mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-13 18:19:33 +00:00
Added an audio FFT view in Wideband FM receive
Tried speeding up fill_rectangle for clearing the waveform widget
This commit is contained in:
@@ -158,6 +158,21 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void lcd_write_pixels_unrolled8(const ui::Color pixel, size_t n) {
|
||||
auto v = pixel.v;
|
||||
n >>= 3;
|
||||
while(n--) {
|
||||
lcd_write_data(v);
|
||||
lcd_write_data(v);
|
||||
lcd_write_data(v);
|
||||
lcd_write_data(v);
|
||||
lcd_write_data(v);
|
||||
lcd_write_data(v);
|
||||
lcd_write_data(v);
|
||||
lcd_write_data(v);
|
||||
}
|
||||
}
|
||||
|
||||
void lcd_write_pixels(const ui::Color* const pixels, size_t n) {
|
||||
for(size_t i=0; i<n; i++) {
|
||||
lcd_write_pixel(pixels[i]);
|
||||
|
||||
Reference in New Issue
Block a user