Skip to content

Commit 423a474

Browse files
committed
Update arm_2d_scene_waveform.c
1 parent 7e57dfd commit 423a474

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/demos/arm_2d_scene_waveform.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ static void __on_scene_waveform_frame_start(arm_2d_scene_t *ptScene)
239239
/* simulate a full battery charging/discharge cycle */
240240
arm_2d_helper_time_cos_slider(50, 350, 20000, 0, &nResult, &this.lTimestamp[0]);
241241

242-
__generate_cos_samples(ptThis, 100, (float)nResult / 100.0f);
242+
__generate_cos_samples(ptThis, 2, (float)nResult / 100.0f);
243243

244244
} while(0);
245245

@@ -459,7 +459,7 @@ user_scene_waveform_t *__arm_2d_scene_waveform_init( arm_2d_scene_player_t *pt
459459
},
460460

461461
.u2SampleSize = WAVEFORM_SAMPLE_SIZE_HWORD,
462-
.u5DotHeight = 0,
462+
.u5DotHeight = 2,
463463
.bUnsigned = false,
464464

465465
.tBrushColour.tColour = GLCD_COLOR_NIXIE_TUBE,

0 commit comments

Comments
 (0)