Fix feedc0de config
This commit is contained in:
@ -81,5 +81,5 @@ set(BOBBYCAR_BUILDFLAGS
|
|||||||
-DFEATURE_DNS_NS
|
-DFEATURE_DNS_NS
|
||||||
# -DSWITCH_BLINK
|
# -DSWITCH_BLINK
|
||||||
# -DFEATURE_IS_MIR_EGAL_OB_DER_WEBSERVER_KORREKT_ARBEITET
|
# -DFEATURE_IS_MIR_EGAL_OB_DER_WEBSERVER_KORREKT_ARBEITET
|
||||||
-DFEATURE_ESPNOW
|
# -DFEATURE_ESPNOW
|
||||||
)
|
)
|
||||||
|
@ -47,8 +47,7 @@ struct GasText : public virtual espgui::TextInterface
|
|||||||
public:
|
public:
|
||||||
std::string text() const override
|
std::string text() const override
|
||||||
{
|
{
|
||||||
return fmt::format("{}: {}: {}",
|
return fmt::format("gas: {}: {}",
|
||||||
"gas",
|
|
||||||
raw_gas ? std::to_string(*raw_gas) : "?",
|
raw_gas ? std::to_string(*raw_gas) : "?",
|
||||||
gas ? fmt::format("{:.02f}", *gas) : "?");
|
gas ? fmt::format("{:.02f}", *gas) : "?");
|
||||||
}
|
}
|
||||||
@ -58,8 +57,7 @@ struct BremsText : public virtual espgui::TextInterface
|
|||||||
public:
|
public:
|
||||||
std::string text() const override
|
std::string text() const override
|
||||||
{
|
{
|
||||||
return fmt::format("{}: {}: {}",
|
return fmt::format("brems: {}: {}",
|
||||||
"brems",
|
|
||||||
raw_brems ? std::to_string(*raw_brems) : "?",
|
raw_brems ? std::to_string(*raw_brems) : "?",
|
||||||
brems ? fmt::format("{:.02f}", *brems) : "?");
|
brems ? fmt::format("{:.02f}", *brems) : "?");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user