style: function names should be lower camel
Fix function names to be lower camel.
Change-Id: I145e1f4c03d7740bc1525dcffbdce2f78fd61075
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/main.cpp b/main.cpp
index 6b3a417..6c3209d 100644
--- a/main.cpp
+++ b/main.cpp
@@ -106,8 +106,8 @@
{
try
{
- mgmr = BuildSensorsFromConfig(configPath);
- zones = BuildZonesFromConfig(configPath, mgmr, ModeControlBus);
+ mgmr = buildSensorsFromConfig(configPath);
+ zones = buildZonesFromConfig(configPath, mgmr, ModeControlBus);
}
catch (const std::exception& e)
{
@@ -117,8 +117,8 @@
}
else
{
- mgmr = BuildSensors(SensorConfig);
- zones = BuildZones(ZoneConfig, ZoneDetailsConfig, mgmr, ModeControlBus);
+ mgmr = buildSensors(SensorConfig);
+ zones = buildZones(ZoneConfig, ZoneDetailsConfig, mgmr, ModeControlBus);
}
if (0 == zones.size())
@@ -161,7 +161,7 @@
for (const auto& i : zones)
{
std::cerr << "pushing zone" << std::endl;
- zoneThreads.push_back(std::thread(PIDControlThread, i.second.get()));
+ zoneThreads.push_back(std::thread(pidControlThread, i.second.get()));
}
l.join();