Skip to content

Commit d2d5657

Browse files
committed
Add Platform_new to aducm355
1 parent c69a2d2 commit d2d5657

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/platform/aducm355/aducm355.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@ void Platform_ctor(Platform *super) {
212212
RtcInit();
213213
}
214214

215+
Platform* Platform_new() {
216+
return &platform.super;
217+
}
218+
215219
void MutexAducm355_unlock(Mutex *super) {
216220
(void)super;
217221
PlatformAducm355 *platform = (PlatformAducm355 *)_lf_environment->platform;
@@ -235,3 +239,4 @@ void Mutex_ctor(Mutex *super) {
235239
super->lock = MutexAducm355_lock;
236240
super->unlock = MutexAducm355_unlock;
237241
}
242+

0 commit comments

Comments
 (0)