Skip to content

Commit c35b743

Browse files
committed
Fix warning about implicit functions on stm32 platform
Adds missing function declarations to stm32/src/lib/stm_sys.h for several platform functions used in main.c from sys.c. Signed-off-by: Winford <winford@object.stream>
1 parent dfc3bf1 commit c35b743

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/platforms/stm32/src/lib/stm_sys.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,5 +164,7 @@ void sys_enable_flash_cache(void);
164164
void *_sbrk_r(struct _reent *, ptrdiff_t);
165165
// This function may be defined to relocate the heap.
166166
void local_heap_setup(uint8_t **start, uint8_t **end);
167+
void sys_enable_core_periph_clocks();
168+
bool sys_lock_pin(GlobalContext *glb, uint32_t gpio_bank, uint16_t pin_num);
167169

168170
#endif /* _STM_SYS_H_ */

0 commit comments

Comments
 (0)