Skip to content

fix: char array to small to hold the firmware name#1

Open
hondagx35 wants to merge 1 commit intoallocom:masterfrom
hondagx35:master
Open

fix: char array to small to hold the firmware name#1
hondagx35 wants to merge 1 commit intoallocom:masterfrom
hondagx35:master

Conversation

@hondagx35
Copy link
Copy Markdown

The character array "firmware_name[40]" is to short to hold the firmware names for some settings.

alloPiano/2.2/allo-piano-44100-100-0.bin => 41 characters including string terminator (\0)
alloPiano/2.2/allo-piano-192000-100-0.bin => 42 characters including string terminator (\0)

ALSA crashes when changing settings (Lowpass higher the 90Hz).

The character array "firmware_name[40]" is to short to hold the firmware names for some settings.
 
alloPiano/2.2/allo-piano-44100-100-0.bin => 41 characters including string terminator (\0)
alloPiano/2.2/allo-piano-192000-100-0.bin => 42 characters including string terminator (\0)
@sparkysbc
Copy link
Copy Markdown

Thanks. Please checkout driver from https://github.com/allocom/linux.git branch: rpi-piano for the latest driver. This issue is already addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants