Loading files
#include "BaroDevice.hpp"
#include "Hal/Pgm.h"
#include <cstddef>
namespace Espfc::Device {
const char** BaroDevice::getNames()
{
static const char* devChoices[] = {PSTR("AUTO"), PSTR("NONE"), PSTR("BMP085"), PSTR("MS5611"), PSTR("BMP280"),
PSTR("SPL06-001"), NULL};
return devChoices;
}
const char* BaroDevice::getName(DeviceType type)
{
if (type >= BARO_MAX) return PSTR("?");
return getNames()[type];
}
} // namespace Espfc::Device
ec66650c4This file is pinned to the selected release. Download the original to open it in your design tool.