2021-12-16 20:49:41 +01:00
|
|
|
/**
|
|
|
|
* @file lv_demo_stress.h
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LV_DEMO_STRESS_H
|
|
|
|
#define LV_DEMO_STRESS_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*********************
|
|
|
|
* INCLUDES
|
|
|
|
*********************/
|
|
|
|
#include "../lv_demos.h"
|
|
|
|
|
|
|
|
/*********************
|
|
|
|
* DEFINES
|
|
|
|
*********************/
|
|
|
|
|
2022-01-23 13:51:57 -05:00
|
|
|
#define LV_DEMO_STRESS_TIME_STEP 50
|
|
|
|
|
2021-12-16 20:49:41 +01:00
|
|
|
/**********************
|
|
|
|
* TYPEDEFS
|
|
|
|
**********************/
|
|
|
|
|
|
|
|
/**********************
|
|
|
|
* GLOBAL PROTOTYPES
|
|
|
|
**********************/
|
|
|
|
void lv_demo_stress(void);
|
|
|
|
|
2023-09-25 16:58:36 +08:00
|
|
|
/**
|
|
|
|
* Check if stress demo has finished one round.
|
|
|
|
*/
|
|
|
|
bool lv_demo_stress_finished(void);
|
|
|
|
|
2021-12-16 20:49:41 +01:00
|
|
|
/**********************
|
|
|
|
* MACROS
|
|
|
|
**********************/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /*LV_DEMO_STRESS_H*/
|