mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Fix member initialization order.
This commit is contained in:
parent
46b3d9d087
commit
ed0d5331ad
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user