mirror of
https://github.com/opentx/opentx.git
synced 2025-07-22 15:55:26 +03:00
Some more code style changes, getting used to openTX style.
This commit is contained in:
parent
7f7c722429
commit
cd9facb147
2 changed files with 6 additions and 3 deletions
|
@ -1224,7 +1224,8 @@ void RegisterFirmwares()
|
|||
RegisterEepromInterfaces();
|
||||
}
|
||||
|
||||
void UnregisterFirmwares() {
|
||||
void UnregisterFirmwares()
|
||||
{
|
||||
UnregisterEepromInterfaces();
|
||||
UnregisterOpen9xFirmwares();
|
||||
}
|
||||
|
|
|
@ -145,7 +145,8 @@ class SwitchesConversionTable: public ConversionTable {
|
|||
internalCache.push_back(element);
|
||||
return element.table;
|
||||
}
|
||||
static void Cleanup() {
|
||||
static void Cleanup()
|
||||
{
|
||||
for (std::list<Cache>::iterator it=internalCache.begin(); it!=internalCache.end(); it++) {
|
||||
Cache element = *it;
|
||||
delete element.table;
|
||||
|
@ -306,7 +307,8 @@ class SourcesConversionTable: public ConversionTable {
|
|||
internalCache.push_back(element);
|
||||
return element.table;
|
||||
}
|
||||
static void Cleanup() {
|
||||
static void Cleanup()
|
||||
{
|
||||
for (std::list<Cache>::iterator it=internalCache.begin(); it!=internalCache.end(); it++) {
|
||||
Cache element = *it;
|
||||
delete element.table;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue