Skip to content

Commit

Permalink
Main - Matching case for case-sensitive keys (#1322)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonBons authored Dec 18, 2024
1 parent b023bec commit ad359bd
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion addons/sys_bf888s/radio/fnc_getChannelDataInternal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ HASH_SET(_return,"CTCSSTx",HASH_GET(_channel,"CTCSSTx"));
HASH_SET(_return,"CTCSSRx",HASH_GET(_channel,"CTCSSRx"));
HASH_SET(_return,"modulation",HASH_GET(_channel,"modulation"));
HASH_SET(_return,"encryption",HASH_GET(_channel,"encryption"));
HASH_SET(_return,"TEK",HASH_GET(_channel,"tek"));
HASH_SET(_return,"TEK",HASH_GET(_channel,"TEK"));
HASH_SET(_return,"trafficRate",HASH_GET(_channel,"trafficRate"));
HASH_SET(_return,"syncLength",HASH_GET(_channel,"phase"));

Expand Down
8 changes: 4 additions & 4 deletions addons/sys_prc117f/radio/fnc_getChannelData.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ switch _channelType do {
HASH_SET(_return,"CTCSSRx",HASH_GET(_channel,"CTCSSRx"));
HASH_SET(_return,"modulation",HASH_GET(_channel,"modulation"));
HASH_SET(_return,"encryption",HASH_GET(_channel,"encryption"));
HASH_SET(_return,"TEK",HASH_GET(_channel,"tek"));
HASH_SET(_return,"TEK",HASH_GET(_channel,"TEK"));
HASH_SET(_return,"trafficRate",HASH_GET(_channel,"trafficRate"));
HASH_SET(_return,"syncLength",HASH_GET(_channel,"phase"));
HASH_SET(_return,"optioncode",HASH_GET(_channel,"optioncode"));
HASH_SET(_return,"optionCode",HASH_GET(_channel,"optionCode"));
HASH_SET(_return,"active",HASH_GET(_channel,"active"));
HASH_SET(_return,"rxonly",HASH_GET(_channel,"rxonly"));
HASH_SET(_return,"rxOnly",HASH_GET(_channel,"rxOnly"));
HASH_SET(_return,"squelch",HASH_GET(_channel,"squelch"));
HASH_SET(_return,"channelmode",HASH_GET(_channel,"channelmode"));
HASH_SET(_return,"channelMode",HASH_GET(_channel,"channelMode"));
HASH_SET(_return,"deviation",HASH_GET(_channel,"deviation"));
HASH_SET(_return,"name",HASH_GET(_channel,"name"));
};
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_prc117f/radio/fnc_getCurrentChannelData.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ switch _channelType do {
HASH_SET(_return,"CTCSSRx",HASH_GET(_currentChannelData,"CTCSSRx"));
HASH_SET(_return,"modulation",HASH_GET(_currentChannelData,"modulation"));
HASH_SET(_return,"encryption",HASH_GET(_currentChannelData,"encryption"));
HASH_SET(_return,"TEK",HASH_GET(_currentChannelData,"tek"));
HASH_SET(_return,"TEK",HASH_GET(_currentChannelData,"TEK"));
HASH_SET(_return,"trafficRate",HASH_GET(_currentChannelData,"trafficRate"));
HASH_SET(_return,"syncLength",HASH_GET(_currentChannelData,"phase"));
};
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_prc148/radio/fnc_getChannelDataInternal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ switch _channelType do {
HASH_SET(_return,"CTCSSRx",HASH_GET(_channel,"CTCSSRx"));
HASH_SET(_return,"modulation",HASH_GET(_channel,"modulation"));
HASH_SET(_return,"encryption",HASH_GET(_channel,"encryption"));
HASH_SET(_return,"TEK",HASH_GET(_channel,"tek"));
HASH_SET(_return,"TEK",HASH_GET(_channel,"TEK"));
HASH_SET(_return,"trafficRate",HASH_GET(_channel,"trafficRate"));
HASH_SET(_return,"syncLength",HASH_GET(_channel,"phase"));
};
Expand Down
8 changes: 4 additions & 4 deletions addons/sys_prc152/radio/fnc_getChannelData.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ switch _channelType do {
HASH_SET(_return,"CTCSSRx",HASH_GET(_channel,"CTCSSRx"));
HASH_SET(_return,"modulation",HASH_GET(_channel,"modulation"));
HASH_SET(_return,"encryption",HASH_GET(_channel,"encryption"));
HASH_SET(_return,"TEK",HASH_GET(_channel,"tek"));
HASH_SET(_return,"TEK",HASH_GET(_channel,"TEK"));
HASH_SET(_return,"trafficRate",HASH_GET(_channel,"trafficRate"));
HASH_SET(_return,"syncLength",HASH_GET(_channel,"phase"));
HASH_SET(_return,"optioncode",HASH_GET(_channel,"optioncode"));
HASH_SET(_return,"rxonly",HASH_GET(_channel,"rxonly"));
HASH_SET(_return,"optionCode",HASH_GET(_channel,"optionCode"));
HASH_SET(_return,"rxOnly",HASH_GET(_channel,"rxOnly"));
HASH_SET(_return,"squelch",HASH_GET(_channel,"squelch"));
HASH_SET(_return,"channelmode",HASH_GET(_channel,"channelmode"));
HASH_SET(_return,"channelMode",HASH_GET(_channel,"channelMode"));
HASH_SET(_return,"deviation",HASH_GET(_channel,"deviation"));
HASH_SET(_return,"description",HASH_GET(_channel,"description"));
};
Expand Down
2 changes: 1 addition & 1 deletion addons/sys_prc152/radio/fnc_getCurrentChannelData.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ switch _channelType do {
HASH_SET(_return,"CTCSSRx",HASH_GET(_currentChannelData,"CTCSSRx"));
HASH_SET(_return,"modulation",HASH_GET(_currentChannelData,"modulation"));
HASH_SET(_return,"encryption",HASH_GET(_currentChannelData,"encryption"));
HASH_SET(_return,"TEK",HASH_GET(_currentChannelData,"tek"));
HASH_SET(_return,"TEK",HASH_GET(_currentChannelData,"TEK"));
HASH_SET(_return,"trafficRate",HASH_GET(_currentChannelData,"trafficRate"));
HASH_SET(_return,"syncLength",HASH_GET(_currentChannelData,"phase"));
};
Expand Down

0 comments on commit ad359bd

Please sign in to comment.