Skip to content

Commit

Permalink
[esp_now_ros] make logging to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sktometometo committed Jun 27, 2023
1 parent a7a85d0 commit de12b59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sketchbooks/esp_now_ros/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void messageCb(const esp_now_ros::Packet& msg)
sprite_event_info.pushSprite(0, 80);

// Log
nh.loginfo("Subscribe a message and send a packet.");
nh.logdebug("Subscribe a message and send a packet.");
}

void OnDataRecv(const uint8_t* mac_addr, const uint8_t* data, int data_len)
Expand Down Expand Up @@ -106,7 +106,7 @@ void OnDataRecv(const uint8_t* mac_addr, const uint8_t* data, int data_len)
sprite_event_info.pushSprite(0, 80);

// Log
nh.loginfo("Received a packet and publish a message.");
nh.logdebug("Received a packet and publish a message.");
}

void setup()
Expand Down

0 comments on commit de12b59

Please sign in to comment.