1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-21 23:35:17 +03:00

Some more code style changes, getting used to openTX style.

This commit is contained in:
Damjan Adamic 2014-04-15 18:56:09 +02:00
parent 7f7c722429
commit cd9facb147
2 changed files with 6 additions and 3 deletions

View file

@ -1224,7 +1224,8 @@ void RegisterFirmwares()
RegisterEepromInterfaces();
}
void UnregisterFirmwares() {
void UnregisterFirmwares()
{
UnregisterEepromInterfaces();
UnregisterOpen9xFirmwares();
}

View file

@ -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;