[baro_board] make configure work for BARO_PERIODIC_FREQUENCY (needed to use define before)