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