Fix value fill

This commit is contained in:
cam900 2022-04-10 17:26:50 +09:00
parent 228822e19e
commit 2e6193706a
1 changed files with 3 additions and 2 deletions

View File

@ -163,13 +163,14 @@ struct DivInstrumentMacro {
signed char rel; signed char rel;
DivInstrumentMacro(String n, int h=~0, bool initOpen=false): DivInstrumentMacro(String n, int h=~0, bool initOpen=false):
name(n), name(n),
val{0},
height(h), height(h),
mode(0), mode(0),
open(initOpen), open(initOpen),
len(0), len(0),
loop(-1), loop(-1),
rel(-1) {} rel(-1) {
memset(val,0,256*sizeof(int));
}
}; };
struct DivInstrumentSTD { struct DivInstrumentSTD {