diff options
Diffstat (limited to 'src/lib/formats/cassimg.cpp')
-rw-r--r-- | src/lib/formats/cassimg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/formats/cassimg.cpp b/src/lib/formats/cassimg.cpp index ee271abc8a7..527bfc884fb 100644 --- a/src/lib/formats/cassimg.cpp +++ b/src/lib/formats/cassimg.cpp @@ -94,12 +94,12 @@ const int8_t *choose_wave(const cassette_image::Modulation &modulation, size_t & if (modulation.flags & cassette_image::MODULATION_SINEWAVE) { - wave_bytes_length = ARRAY_LENGTH(sine_wave); + wave_bytes_length = std::size(sine_wave); return sine_wave; } else { - wave_bytes_length = ARRAY_LENGTH(square_wave); + wave_bytes_length = std::size(square_wave); return square_wave; } } |