| 1164 | u32 g_disp_config_len = sizeof(g_disp_config) / sizeof(struct property_t); |
| 1165 | |
| 1166 | static struct property_t *_lcd_property_find(const char *name, struct property_t *_config, const u32 config_len) |
| 1167 | { |
| 1168 | u32 i; |
| 1169 | |
| 1170 | for (i = 0; i < config_len; i++) |
| 1171 | { |
| 1172 | if (_config[i].type != PROPERTY_INTGER) |
| 1173 | { |
| 1174 | continue; |
| 1175 | } |
| 1176 | |
| 1177 | if (!strcmp(name, _config[i].name)) |
| 1178 | { |
| 1179 | return _config + i; |
| 1180 | } |
| 1181 | } |
| 1182 | |
| 1183 | return NULL; |
| 1184 | } |
| 1185 | |
| 1186 | #ifndef LCD_XML_CONFIG_FILE |
| 1187 | #define LCD_CONFIG_FILE "/etc/lcd_config.xml" |
no outgoing calls
no test coverage detected