Commit e0566d53 authored by captainwong's avatar captainwong

fix

parent 3a71cf08
......@@ -203,17 +203,17 @@
|事件码|类型|型号|00|01|02|03|04|05|06|07|08|09|0A|0F|
|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|
|1707|3|<ul><li>G250</li></ul>|√|√|√|√|√|√|√|√|√|√|√||
|1717|4|<ul><li>4040G</li><li>5050G</li><li>5050G-4G</li></ul>|√|√|√|√|√|√|√|√|√|√|√|√|
|1707|3|<ul><li>G250</li></ul>|√|√|√|√|√|√|√|√|√|√|√| |
|1717|4|<ul><li>4040G</li><li>5050G</li><li>5050G-4G</li></ul>|√|√|√|√|√|√| |√| | | | |
|1727|5|<ul><li>BJQ560</li><li>BJQ560B</li></ul>|√|√|√|√|√|√|√|√|√|√|√|√|
|1737|6|<ul><li>4040R</li><li>5050R</li></ul>|√|√|√|√|√|√|√|√|√|√|√|√|
|1757|8|<ul><li>G1000</li><li>G1000-4G</li></ul>|√|√|√|√|√|√|√|√|√|√|√|√|
|1767|9|<ul><li>2050-4GW</li></ul>|√|√|√|√|√|√|√|√|√|√|√|√|
|1777|7|<ul><li>G1000</li><li>G1000-4G</li></ul>|√|√|√|√|√|√|√|√|√|√|√|√|
|1787|2|<ul><li>5050G-4GW</li></ul>|√|√|√|√|√|√|√|√|√|√|√|√|
|1797|10|<ul><li>2050</li></ul>|√|√|√|√|√|√|√|√|√|√|√|√|
|1807|11|<ul></ul>|√|√|√|√|√|√|√|√|√|√|√|√|
|1817|12|<ul></ul>|√|√|√|√|√|√|√|√|√|√|√|√|
|1737|6|<ul><li>4040R</li><li>5050R</li></ul>|√|√|√|√|√|√| |√| | | | |
|1757|8|<ul><li>G1000</li><li>G1000-4G</li></ul>|√|√|√|√|√|√| |√| |√|√|√|
|1767|9|<ul><li>2050-4GW</li></ul>|√|√|√|√|√|√| |√| |√|√|√|
|1777|7|<ul><li>G1000</li><li>G1000-4G</li></ul>|√|√|√|√|√|√| |√| |√|√|√|
|1787|2|<ul><li>5050G-4GW</li></ul>|√|√|√|√|√|√| |√| | | | |
|1797|10|<ul><li>2050</li></ul>|√|√|√|√|√|√| |√| | | | |
|1807|11|<ul></ul>|√|√|√|√|√|√| | | | |√| |
|1817|12|<ul></ul>|√|√|√|√|√|√| |√| | | | |
## 四、恒博扩展
......
......@@ -295,9 +295,9 @@ void print_imgs()
printf("\n\n");
}
bool zprop_is_contain(HbZoneProperty prop) {
for (const auto& zp : hbZoneProperties) {
if (zp == prop)return true;
bool zprop_is_contain(HbZoneProperty* props, int count, HbZoneProperty prop) {
for (int i = 0; i < count; i++) {
if (props[i] == prop)return true;
}
return false;
}
......@@ -361,7 +361,7 @@ void print_available_zone_props()
HbZoneProperty avail_props[12];
int count = hbGetAvailableZoneProperties(t, avail_props);
for (auto zp : hbZoneProperties) {
printf("|%s", print_bool(zprop_is_contain(zp)));
printf("|%s", print_bool(zprop_is_contain(avail_props, count, zp)));
}
printf("|\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment