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;
void _sample();
};
} // namespace Dough
}
#endif

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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