application: move wait_space to global

This commit is contained in:
King Kévin 2018-01-21 23:36:11 +01:00
parent a822c9b131
commit c9c017ac29
1 changed files with 6 additions and 0 deletions

View File

@ -415,6 +415,12 @@ void sleep_us(uint32_t duration);
*/
void sleep_ms(uint32_t duration);
/** wait for user to press space
* @note needs to be implemented by the main application depending on the user inputs
* @return if the user press space (true) or something else
*/
bool wait_space(void);
/** setup board peripherals */
void board_setup(void);