osc: allocate data buffer dynamically

This commit is contained in:
Daniel Eklöf 2019-07-19 08:59:35 +02:00
parent 95ff37afd7
commit 153628a217
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 30 additions and 4 deletions

View file

@ -125,7 +125,8 @@ struct vt {
} params;
char private;
struct {
uint8_t data[1024];
uint8_t *data;
size_t size;
size_t idx;
} osc;
struct {