Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamidd committed Aug 21, 2024
1 parent 772816b commit 4e47ec2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions vehicle/OVMS.V3/components/ovms_server_v3/src/ovms_server_v3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ static void OvmsServerV3MongooseCallback(struct mg_connection *nc, int ev, void
{
if (MyOvmsServerV3->m_accept_command == 0)
{
MyOvmsServerV3->m_accept_command = 2;
MyOvmsServerV3->IncomingMsg(
std::string(msg->topic.p,msg->topic.len),
std::string(msg->payload.p,msg->payload.len));
MyOvmsServerV3->m_accept_command = 2;
MyOvmsServerV3->IncomingMsg(
std::string(msg->topic.p,msg->topic.len),
std::string(msg->payload.p,msg->payload.len));
}
}
if (msg->qos == 1)
Expand Down Expand Up @@ -885,7 +885,7 @@ void OvmsServerV3::Ticker1(std::string event, void* data)
{
if (m_accept_command > 0)
{
m_accept_command--;
m_accept_command--;
}
if (m_connretry > 0)
{
Expand Down

0 comments on commit 4e47ec2

Please sign in to comment.