On the Pi it would be very nice to be able to support an "inverted" GPIO line, which is normally high and goes low for transmit, as some circuits might want. I decided to implement it in the same way as direwolf, where a negative GPIO pin number specifies the inverted sense.
Here is a patch against the ardopc 1 sources that found their way to GitHub; hopefully it's easy to apply to current versions.