Fix member initialization order.

This commit is contained in:
Jared Boone 2016-11-26 16:53:35 -08:00
parent 46b3d9d087
commit ed0d5331ad

View File

@ -47,8 +47,8 @@ BasebandThread::BasebandThread(
const tprio_t priority, const tprio_t priority,
baseband::Direction direction baseband::Direction direction
) : baseband_processor { baseband_processor }, ) : baseband_processor { baseband_processor },
sampling_rate { sampling_rate }, _direction { direction },
_direction { direction } sampling_rate { sampling_rate }
{ {
thread = chThdCreateStatic(baseband_thread_wa, sizeof(baseband_thread_wa), thread = chThdCreateStatic(baseband_thread_wa, sizeof(baseband_thread_wa),
priority, ThreadBase::fn, priority, ThreadBase::fn,