Skip to content

Commit

Permalink
Use PRINTF macro instead of semihosted_printf
Browse files Browse the repository at this point in the history
  • Loading branch information
enriquefynn committed Jun 19, 2024
1 parent 5874d93 commit fac1a07
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/handle_provide_parameter.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ static void handle_eigenlayer_delegate_to(ethPluginProvideParameter_t *msg, cont

// Keep this
default:
semihosted_printf("Param not supported: %d\n", context->next_param);
PRINTF("Param not supported: %d\n", context->next_param);
msg->result = ETH_PLUGIN_RESULT_ERROR;
break;
}
Expand All @@ -207,7 +207,7 @@ static void handle_eigenlayer_inc_dec_delegated_shares(ethPluginProvideParameter

// Keep this
default:
semihosted_printf("Param not supported: %d\n", context->next_param);
PRINTF("Param not supported: %d\n", context->next_param);
msg->result = ETH_PLUGIN_RESULT_ERROR;
break;
}
Expand Down Expand Up @@ -303,7 +303,7 @@ static void handle_eigenlayer_complete_queued_withdrawal(ethPluginProvideParamet

// Keep this
default:
semihosted_printf("Param not supported: %d\n", context->next_param);
PRINTF("Param not supported: %d\n", context->next_param);
msg->result = ETH_PLUGIN_RESULT_ERROR;
break;
}
Expand Down Expand Up @@ -371,7 +371,7 @@ static void handle_eigenlayer_undelegate(ethPluginProvideParameter_t *msg, conte

// Keep this
default:
semihosted_printf("Param not supported: %d\n", context->next_param);
PRINTF("Param not supported: %d\n", context->next_param);
msg->result = ETH_PLUGIN_RESULT_ERROR;
break;
}
Expand All @@ -392,7 +392,7 @@ void handle_symbiotic_deposit_issue_debt_withdraw(ethPluginProvideParameter_t *m

// Keep this
default:
semihosted_printf("Param not supported: %d\n", context->next_param);
PRINTF("Param not supported: %d\n", context->next_param);
msg->result = ETH_PLUGIN_RESULT_ERROR;
break;
}
Expand Down Expand Up @@ -434,7 +434,7 @@ void handle_symbiotic_deposit_sig(ethPluginProvideParameter_t *msg, context_t *c

// Keep this
default:
semihosted_printf("Param not supported: %d\n", context->next_param);
PRINTF("Param not supported: %d\n", context->next_param);
msg->result = ETH_PLUGIN_RESULT_ERROR;
break;
}
Expand Down

0 comments on commit fac1a07

Please sign in to comment.