Comment out not needed lines.

This commit is contained in:
GrenderG
2024-02-11 13:42:09 +01:00
parent 84a5bf6945
commit 038dddfaa5

View File

@@ -434,14 +434,14 @@ uint8_t handle_byte(uint8_t in, size_t *counter, clock_t *last_action) {
connection_state = NOT_CONNECTED;
out = PKMN_BREAK_LINK;
break;
case PKMN_MASTER:
// Reset connection; something went wrong in the last trade (console reset, etc) and we need to
// start again. (Should only happen if distribution cart is in Slave mode).
connection_state = NOT_CONNECTED;
trade_state = INIT;
SC_REG = SIOF_CLOCK_EXT;
out = PKMN_SLAVE;
break;
//case PKMN_MASTER:
// // Reset connection; something went wrong in the last trade (console reset, etc) and we need to
// // start again. (Should only happen if distribution cart is in Slave mode).
// connection_state = NOT_CONNECTED;
// trade_state = INIT;
// SC_REG = SIOF_CLOCK_EXT;
// out = PKMN_SLAVE;
// break;
default:
out = in;