Debug update

pull/46/head
shaun feakes 2018-03-15 17:04:41 -05:00
parent 502637f050
commit 689805886d
2 changed files with 3 additions and 1 deletions

View File

@ -672,7 +672,9 @@ void main_loop() {
send_ack(rs_fd, _aqualink_data.aq_command);
_aqualink_data.aq_command = NUL;
*/
if (getLogLevel() >= LOG_DEBUG)
logMessage(LOG_DEBUG, "Packet of type %s\n", get_packet_type(packet_buffer, packet_length));
send_ack(rs_fd, pop_aq_cmd(&_aqualink_data));
// Process the packet. This includes deriving general status, and identifying
// warnings and errors. If something changed, notify any listeners

Binary file not shown.