Skip to content

Commit a3249e4

Browse files
committed
More SBB logging.
1 parent 01fbfa3 commit a3249e4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

SerialPrograms/Source/NintendoSwitch/Controllers/SysbotBase/SysbotBase3_ProController.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ void ProController_SysbotBase3::cancel_all_commands(){
5959
m_next_expected_seqnum_ack = m_next_seqnum;
6060

6161
m_connection.write_data("cqCancel\r\n");
62+
if (GlobalSettings::instance().LOG_EVERYTHING){
63+
m_logger.log("sys-botbase3: cqCancel");
64+
}
6265

6366
this->clear_on_next();
6467
m_cv.notify_all();
@@ -74,6 +77,9 @@ void ProController_SysbotBase3::replace_on_next_command(){
7477
m_next_expected_seqnum_ack = m_next_seqnum;
7578

7679
m_connection.write_data("cqReplaceOnNext\r\n");
80+
if (GlobalSettings::instance().LOG_EVERYTHING){
81+
m_logger.log("sys-botbase3: cqReplaceOnNext");
82+
}
7783

7884
this->clear_on_next();
7985
m_cv.notify_all();

0 commit comments

Comments
 (0)