Name adjustment

This commit is contained in:
Slider0007
2022-10-22 20:27:21 +02:00
parent f15b1e5dfc
commit c2b89dd199
4 changed files with 9 additions and 9 deletions

View File

@@ -145,7 +145,7 @@ esp_err_t info_get_handler(httpd_req_t *req)
return ESP_OK;
}
if (_task.compare("SDCardFreeParitionSpace") == 0)
if (_task.compare("SDCardFreePartitionSpace") == 0)
{
std::string zw;
zw = getSDCardFreeParitionSpace();
@@ -154,10 +154,10 @@ esp_err_t info_get_handler(httpd_req_t *req)
return ESP_OK;
}
if (_task.compare("SDCardParitionAllocationSize") == 0)
if (_task.compare("SDCardPartitionAllocationSize") == 0)
{
std::string zw;
zw = getSDCardParitionAllocationSize();
zw = getSDCardPartitionAllocationSize();
httpd_resp_sendstr_chunk(req, zw.c_str());
httpd_resp_sendstr_chunk(req, NULL);
return ESP_OK;