mirror of https://github.com/rusefi/wideband.git
port.h: remove duplicate, GetConfiguratiuonSize() returns size_t (#152)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
This commit is contained in:
parent
3147d6ab75
commit
9ec8d56e2b
|
@ -138,7 +138,7 @@ uint8_t *GetConfiguratiuonPtr()
|
|||
return (uint8_t *)&config;
|
||||
}
|
||||
|
||||
int GetConfiguratiuonSize()
|
||||
size_t GetConfiguratiuonSize()
|
||||
{
|
||||
return sizeof(config);
|
||||
}
|
||||
|
|
|
@ -102,7 +102,7 @@ uint8_t *GetConfiguratiuonPtr()
|
|||
return (uint8_t *)&config;
|
||||
}
|
||||
|
||||
int GetConfiguratiuonSize()
|
||||
size_t GetConfiguratiuonSize()
|
||||
{
|
||||
return sizeof(config);
|
||||
}
|
||||
|
|
|
@ -129,7 +129,7 @@ uint8_t *GetConfiguratiuonPtr()
|
|||
return (uint8_t *)&config;
|
||||
}
|
||||
|
||||
int GetConfiguratiuonSize()
|
||||
size_t GetConfiguratiuonSize()
|
||||
{
|
||||
return sizeof(config);
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue