Skip to content

Commit

Permalink
init shotsnapshot instance
Browse files Browse the repository at this point in the history
  • Loading branch information
Zer0-bit committed May 18, 2023
1 parent e4615cb commit 4364ea2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/tests/test_pressure_profiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ Phase presurePhaseWithWeightTarget(float start, float end, long time, float weig

SensorState state;
eepromValues_t cfg;
ShotSnapshot& shotSnapshotAtStart;
ShotSnapshot shotSnapshotInstance;
ShotSnapshot& shotSnapshotAtStart = shotSnapshotInstance;

void test_current_phase_calculation(void)
{
Expand Down

0 comments on commit 4364ea2

Please sign in to comment.