diff --git a/app/src/main/rs/decoder.rs b/app/src/main/rs/decoder.rs index 67519cb..e6795fe 100644 --- a/app/src/main/rs/decoder.rs +++ b/app/src/main/rs/decoder.rs @@ -228,7 +228,7 @@ void decode(int samples) { if (vpos >= bitmap_height) save_buffer(); if (vpos >= maximum_height) - vpos = 0; + vpos -= maximum_height; seperator_counter = 0; } }