make it compatible with idf 4.4

This commit is contained in:
philippe44
2023-08-29 12:09:15 -07:00
parent 9f170020e2
commit d1858c3cc3
2 changed files with 4 additions and 2 deletions

View File

@@ -537,7 +537,7 @@ static esp_err_t mpr121_init(gpio_exp_t* self) {
{ 0x57, 0x28 }, { 0x58, 0x14 }, /* ELE11: Touch Threshold, Release Threshold */
{ 0x5e, 0xcc }, /* ECR - must be set last */
{0, 0}
{ 0, 0 }
};
esp_err_t err = 0;