Removed ugly namespace mentioning at namespace closing brace, which was added by the code formatter.

This commit is contained in:
Maurice Makaay 2020-07-12 22:43:35 +02:00
parent a31840c479
commit c5547b37ee
27 changed files with 27 additions and 27 deletions

View File

@ -174,4 +174,4 @@ namespace Dough
} }
} }
} }
} // namespace Dough }

View File

@ -77,6 +77,6 @@ namespace Dough
bool _containerHeightSet; bool _containerHeightSet;
void _sample(); void _sample();
}; };
} // namespace Dough }
#endif #endif

View File

@ -29,4 +29,4 @@ namespace Dough
target->ok = ok; target->ok = ok;
target->value = value; target->value = value;
} }
} // namespace Dough }

View File

@ -16,6 +16,6 @@ namespace Dough
void clear(); void clear();
void copyTo(Measurement *target); void copyTo(Measurement *target);
}; };
} // namespace Dough }
#endif #endif

View File

@ -162,4 +162,4 @@ namespace Dough
_storage[i]->clear(); _storage[i]->clear();
} }
} }
} // namespace Dough }

View File

@ -60,6 +60,6 @@ namespace Dough
void _store(Measurement measurement); void _store(Measurement measurement);
unsigned int _next(); unsigned int _next();
}; };
} // namespace Dough }
#endif #endif

View File

@ -135,4 +135,4 @@ namespace Dough
} }
} }
} // namespace Dough }

View File

@ -43,6 +43,6 @@ namespace Dough
char *_mqttDeviceId; char *_mqttDeviceId;
}; };
} // namespace Dough }
#endif #endif

View File

@ -87,4 +87,4 @@ namespace Dough
{ {
return _macAddress; return _macAddress;
} }
} // namespace Dough }

View File

@ -26,6 +26,6 @@ namespace Dough
char _macAddress[18]; // max MAC address length + 1 char _macAddress[18]; // max MAC address length + 1
Logger _logger; Logger _logger;
}; };
} // namespace Dough }
#endif #endif

View File

@ -59,4 +59,4 @@ namespace Dough
return Measurement::Value(d); return Measurement::Value(d);
} }
} }
} // namespace Dough }

View File

@ -25,6 +25,6 @@ namespace Dough
Logger _logger; Logger _logger;
SensorHCSR04 *_hcsr04; SensorHCSR04 *_hcsr04;
}; };
} // namespace Dough }
#endif #endif

View File

@ -47,4 +47,4 @@ namespace Dough
return Measurement::Value(int(t)); return Measurement::Value(int(t));
} }
} }
} // namespace Dough }

View File

@ -23,6 +23,6 @@ namespace Dough
static HumiditySensor *_instance; static HumiditySensor *_instance;
Logger _logger; Logger _logger;
}; };
} // namespace Dough }
#endif #endif

View File

@ -44,4 +44,4 @@ namespace Dough
{ {
return _dht->readTemperature(); return _dht->readTemperature();
} }
} // namespace Dough }

View File

@ -20,6 +20,6 @@ namespace Dough
static SensorDHT11 *_instance; static SensorDHT11 *_instance;
DHT *_dht; DHT *_dht;
}; };
} // namespace Dough }
#endif #endif

View File

@ -149,4 +149,4 @@ namespace Dough
return round(sum / HCSR04_SAMPLES_USE); return round(sum / HCSR04_SAMPLES_USE);
} }
} // namespace Dough }

View File

@ -62,6 +62,6 @@ namespace Dough
void _sortSamples(); void _sortSamples();
int _computeAverage(); int _computeAverage();
}; };
} // namespace Dough }
#endif #endif

View File

@ -47,4 +47,4 @@ namespace Dough
return Measurement::Value(int(t)); return Measurement::Value(int(t));
} }
} }
} // namespace Dough }

View File

@ -23,6 +23,6 @@ namespace Dough
static TemperatureSensor *_instance; static TemperatureSensor *_instance;
Logger _logger; Logger _logger;
}; };
} // namespace Dough }
#endif #endif

View File

@ -143,4 +143,4 @@ namespace Dough
_state = UP_AFTER_LONG; _state = UP_AFTER_LONG;
} }
} }
} // namespace Dough }

View File

@ -49,6 +49,6 @@ namespace Dough
unsigned long _debounceTimer = 0; unsigned long _debounceTimer = 0;
ButtonState _state = UP; ButtonState _state = UP;
}; };
} // namespace Dough }
#endif #endif

View File

@ -173,4 +173,4 @@ namespace Dough
{ {
return _pinState == LOW; return _pinState == LOW;
} }
} // namespace Dough }

View File

@ -54,6 +54,6 @@ namespace Dough
int _brightness; int _brightness;
int _pulseStep; int _pulseStep;
}; };
} // namespace Dough }
#endif #endif

View File

@ -70,4 +70,4 @@ namespace Dough
Serial.println(""); Serial.println("");
} }
} // namespace Dough }

View File

@ -24,6 +24,6 @@ namespace Dough
const char *_section; const char *_section;
bool _suspended = false; bool _suspended = false;
}; };
} // namespace Dough }
#endif #endif

View File

@ -169,7 +169,7 @@ namespace Dough
delay(100); delay(100);
led3.off(); led3.off();
} }
} // namespace Dough }
// This callback is called when the TC4 timer hits an overflow interrupt. // This callback is called when the TC4 timer hits an overflow interrupt.
// Defined outside the Dough namespace, because TC4_Handler is a hard-coded // Defined outside the Dough namespace, because TC4_Handler is a hard-coded