diff options
Diffstat (limited to 'source/use_case/ad')
-rw-r--r-- | source/use_case/ad/src/MainLoop.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/use_case/ad/src/MainLoop.cc b/source/use_case/ad/src/MainLoop.cc index e858320..23d1e51 100644 --- a/source/use_case/ad/src/MainLoop.cc +++ b/source/use_case/ad/src/MainLoop.cc @@ -45,7 +45,7 @@ static void DisplayMenu() } -void main_loop(hal_platform& platform) +void main_loop() { arm::app::AdModel model; /* Model wrapper object. */ @@ -59,9 +59,8 @@ void main_loop(hal_platform& platform) /* Instantiate application context. */ arm::app::ApplicationContext caseContext; - arm::app::Profiler profiler{&platform, "ad"}; + arm::app::Profiler profiler{"ad"}; caseContext.Set<arm::app::Profiler&>("profiler", profiler); - caseContext.Set<hal_platform&>("platform", platform); caseContext.Set<arm::app::Model&>("model", model); caseContext.Set<uint32_t>("clipIndex", 0); caseContext.Set<int>("frameLength", g_FrameLength); |