Depends on the pedal I guess. If the mass and ring inside of your TRS get wired in the pedal somehow, it doesn’t make any difference. If not, might be a problem.
Best would be to use a TS → XLR cable I guess.
Beware, though, I don’t have a lot of qualification in such domain… Maybe @darenager can bring more knowledge on the table