21 lines
255 B
C
21 lines
255 B
C
#ifndef __BTN_H__
|
|
#define __BTN_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "app_config.h"
|
|
|
|
#if (DEF_BTN_ENABLED)
|
|
void btn_init(void);
|
|
#else
|
|
#define btn_init()
|
|
#endif /* DEF_BTN_ENABLED */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* ! __BTN_H__ */
|