fix(boards): 修复arduino下变量名大小写不敏感

This commit is contained in:
王立帮
2025-10-19 19:46:25 +08:00
parent 6b1bd254f5
commit aaf5ffedec
3 changed files with 5 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ class Names {
* @return {boolean} True if names are the same.
*/
static equals(name1, name2) {
return name1.toLowerCase() == name2.toLowerCase();
return name1 == name2;
}
/**
* When JavaScript (or most other languages) is generated, variable 'foo' and