mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-15 07:51:19 +10:00
add a .clang-format file (#9154)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user