Make the mode configurable at build time for the waltham transmitter