Skip to content

Commit

Permalink
fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
baltzell authored and raffaelladevita committed Jan 17, 2025
1 parent e3bb1a0 commit 7c400cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ private static void copyIndices(Bank src, Bank dest, int isrc, int idest) {
dest.putByte("layer", idest, src.getByte("layer",isrc));
dest.putShort("component", idest, src.getShort("component",isrc));
dest.putByte("order", idest, src.getByte("order",isrc));
dest.putShort("id", idest, (short)isrc);
dest.putShort("windex", idest, (short)isrc);
}

private static void copyIndices(DataBank src, DataBank dest, int isrc, int idest) {
dest.setByte("sector", idest, src.getByte("sector",isrc));
dest.setByte("layer", idest, src.getByte("layer",isrc));
dest.setShort("component", idest, src.getShort("component",isrc));
dest.setByte("order", idest, src.getByte("order",isrc));
dest.setShort("id", idest, (short)isrc);
dest.setShort("windex", idest, (short)isrc);
}

private static int[] getIndices(Bank bank, int row) {
Expand Down
2 changes: 1 addition & 1 deletion etc/bankdefs/hipo4/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
{ "name":"ADC" , "type":"I", "info":"ADC maximum"},
{ "name":"time" , "type":"F", "info":"time from pulse fit"},
{ "name":"ped" , "type":"S", "info":"pedestal from pulse analysis"},
{ "name":"id" , "type":"S", "info":"pointer to row in waveform bank"}
{ "name":"windex" , "type":"S", "info":"row index in waveform bank"}
]
},
{
Expand Down

0 comments on commit 7c400cf

Please sign in to comment.