-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When downloading from an esp32 to a PC a file containing value 2652 (a wav file for example) this value is converted to 28252 causing glitches in audio file.
The bug can be easily reproduced - run the code:
import struct
f = open("data.raw", "wb")
val = struct.pack('<h', 2528)
f.write(val)
val = struct.pack('<h', 2652)
f.write(val)
val = struct.pack('<h', 2528)
f.write(val)
f.close()
then download "data.raw" and compare the content (2528 28252 2528 on a PC). When downloaded with Thonny the content remains unchanged.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working