Skip to content

Commit 8cfb476

Browse files
committed
Lua heap: fix stupid mistake
1 parent fb2d1c4 commit 8cfb476

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

firmware/controllers/lua/lua.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,10 +407,10 @@ void startLua() {
407407
// definitely should NOT have this on Proteus
408408
// on Hellen a bit of open question what's the best track
409409
if (isStm32F42x()) {
410-
// This is safe to use base and end as we define ram3 for all F4 chips
410+
// This is safe to use section base and end as we define ram3 for all F4 chips
411411
extern char __ram3_base__[];
412412
extern char __ram3_end__[];
413-
userHeap.reinit(__ram3_base__, __ram3_base__ - __ram3_end__);
413+
userHeap.reinit(__ram3_base__, __ram3_end__ - __ram3_base__);
414414
}
415415
#endif // !EFI_IS_F42x
416416
#endif // STM32F4

0 commit comments

Comments
 (0)