Increase loop iteration limit in compareMulti function to 64
Fix abnormal address when MultiLogic device was greater than 12
This commit is contained in:
+1
-1
@@ -230,7 +230,7 @@ int DaliAddr::compareMulti(int h, int m, int l, int ad) {
|
||||
int addr = ad + 1;
|
||||
int retL = l;
|
||||
|
||||
for (int i = 0; i < 12; i++) {
|
||||
for (int i = 0; i < 64; i++) {
|
||||
if (!base_.isAllocAddr) return addr - 1;
|
||||
|
||||
retL++;
|
||||
|
||||
Reference in New Issue
Block a user