Skip to content

Commit

Permalink
Comment out printfs for bmv2 notifications (#220)
Browse files Browse the repository at this point in the history
No proper logging mechanism for PD so I am just commenting these out for
now.
  • Loading branch information
antoninbas authored Oct 18, 2016
1 parent 1386e0a commit c602190
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pdfixed/src/pd_notifications.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ class NotificationsListener {

const char *hdr = reinterpret_cast<char *>(&storage);
if (!memcmp("AGE|", hdr, 4)) {
std::cout << "Received ageing notification\n";
// std::cout << "Received ageing notification\n";
if (!age_cb) {
std::cout << "No cb registered\n";
// std::cout << "No cb registered\n";
continue;
}
NotificationCb cb;
Expand All @@ -116,9 +116,9 @@ class NotificationsListener {
}
cb(hdr, data);
} else if (!memcmp("LEA|", hdr, 4)) {
std::cout << "Received learning notification\n";
// std::cout << "Received learning notification\n";
if (!learn_cb) {
std::cout << "No cb registered\n";
// std::cout << "No cb registered\n";
continue;
}
NotificationCb cb;
Expand All @@ -129,7 +129,7 @@ class NotificationsListener {
cb(hdr, data);

} else {
std::cout << "Unknow notification type\n";
std::cerr << "Unknow notification type\n";
}
}
}
Expand Down

0 comments on commit c602190

Please sign in to comment.