add a .clang-format file (#9154)

This commit is contained in:
Jorropo
2026-01-03 14:19:24 -06:00
committed by GitHub
parent abab6ce815
commit 0d11331d18
771 changed files with 77733 additions and 83165 deletions
+4 -16
View File
@@ -9,26 +9,14 @@
NullSensor::NullSensor() : TelemetrySensor(meshtastic_TelemetrySensorType_SENSOR_UNSET, "nullSensor") {}
int32_t NullSensor::runOnce()
{
return INT32_MAX;
}
int32_t NullSensor::runOnce() { return INT32_MAX; }
void NullSensor::setup() {}
bool NullSensor::getMetrics(meshtastic_Telemetry *measurement)
{
return false;
}
bool NullSensor::getMetrics(meshtastic_Telemetry *measurement) { return false; }
uint16_t NullSensor::getBusVoltageMv()
{
return 0;
}
uint16_t NullSensor::getBusVoltageMv() { return 0; }
int16_t NullSensor::getCurrentMa()
{
return 0;
}
int16_t NullSensor::getCurrentMa() { return 0; }
#endif