10000 CEspControl - fix parameter shadowing in prepare_and_send_request · Networking-for-Arduino/ESPHost@5a02025 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5a02025

Browse files
committed
CEspControl - fix parameter shadowing in prepare_and_send_request
1 parent c24412a commit 5a02025

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CEspControl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,9 +502,9 @@ void CEspControl::prepare_and_send_request(AppMsgId_e id,
502502

503503
if(go_on) {
504504
//__disable_irq();
505-
bool res = CEspCom::send_msg_to_esp(msg);
505+
bool b = CEspCom::send_msg_to_esp(msg);
506506
//__enable_irq();
507-
if(res) {
507+
if(b) {
508508
/* setCallback returns true if a 'true' callback is set up, but it will in any
509509
case reset the cb if nullptr is passed */
510510
if(id == CTRL_REQ_CONFIG_HEARTBEAT) {

0 commit comments

Comments
 (0)
0