port.h: remove duplicate, GetConfiguratiuonSize() returns size_t (#152)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
This commit is contained in:
rusefillc 2022-09-15 14:56:17 -04:00 committed by GitHub
parent 3147d6ab75
commit 9ec8d56e2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 7 deletions

View File

@ -138,7 +138,7 @@ uint8_t *GetConfiguratiuonPtr()
return (uint8_t *)&config;
}
int GetConfiguratiuonSize()
size_t GetConfiguratiuonSize()
{
return sizeof(config);
}

View File

@ -102,7 +102,7 @@ uint8_t *GetConfiguratiuonPtr()
return (uint8_t *)&config;
}
int GetConfiguratiuonSize()
size_t GetConfiguratiuonSize()
{
return sizeof(config);
}

View File

@ -129,7 +129,7 @@ uint8_t *GetConfiguratiuonPtr()
return (uint8_t *)&config;
}
int GetConfiguratiuonSize()
size_t GetConfiguratiuonSize()
{
return sizeof(config);
}

View File

@ -39,12 +39,10 @@ public:
};
Configuration GetConfiguration();
uint8_t *GetConfiguratiuonPtr();
int GetConfiguratiuonSize();
void SetConfiguration(const Configuration& newConfig);
/* TS stuff */
void SaveConfiguration();
uint8_t *GetConfiguratiuonPtr();
int GetConfiguratiuonSize();
size_t GetConfiguratiuonSize();
void SaveConfiguration();
const char *getTsSignature();