Skip to content

Commit 4e47ec2

Browse files
committed
fix code style
1 parent 772816b commit 4e47ec2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

vehicle/OVMS.V3/components/ovms_server_v3/src/ovms_server_v3.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ static void OvmsServerV3MongooseCallback(struct mg_connection *nc, int ev, void
139139
{
140140
if (MyOvmsServerV3->m_accept_command == 0)
141141
{
142-
MyOvmsServerV3->m_accept_command = 2;
143-
MyOvmsServerV3->IncomingMsg(
144-
std::string(msg->topic.p,msg->topic.len),
145-
std::string(msg->payload.p,msg->payload.len));
142+
MyOvmsServerV3->m_accept_command = 2;
143+
MyOvmsServerV3->IncomingMsg(
144+
std::string(msg->topic.p,msg->topic.len),
145+
std::string(msg->payload.p,msg->payload.len));
146146
}
147147
}
148148
if (msg->qos == 1)
@@ -885,7 +885,7 @@ void OvmsServerV3::Ticker1(std::string event, void* data)
885885
{
886886
if (m_accept_command > 0)
887887
{
888-
m_accept_command--;
888+
m_accept_command--;
889889
}
890890
if (m_connretry > 0)
891891
{

0 commit comments

Comments
 (0)