2021-05-18 12:23:14 +03:00
|
|
|
/* USER CODE BEGIN Header */
|
|
|
|
/**
|
|
|
|
******************************************************************************
|
|
|
|
* File Name : app_common.h
|
|
|
|
* Description : App Common application configuration file for STM32WPAN Middleware.
|
|
|
|
*
|
|
|
|
******************************************************************************
|
|
|
|
* @attention
|
|
|
|
*
|
|
|
|
* <h2><center>© Copyright (c) 2020 STMicroelectronics.
|
|
|
|
* All rights reserved.</center></h2>
|
|
|
|
*
|
|
|
|
* This software component is licensed by ST under Ultimate Liberty license
|
|
|
|
* SLA0044, the "License"; You may not use this file except in compliance with
|
|
|
|
* the License. You may obtain a copy of the License at:
|
|
|
|
* www.st.com/SLA0044
|
|
|
|
*
|
|
|
|
******************************************************************************
|
|
|
|
*/
|
|
|
|
/* USER CODE END Header */
|
|
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
|
|
#ifndef APP_COMMON_H
|
|
|
|
#define APP_COMMON_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
2021-09-10 00:11:32 +03:00
|
|
|
#include <furi/common_defines.h>
|
2021-05-18 12:23:14 +03:00
|
|
|
|
2021-09-10 00:11:32 +03:00
|
|
|
#include "app_conf.h"
|
2021-05-18 12:23:14 +03:00
|
|
|
|
|
|
|
#define DIVC( x, y ) (((x)+(y)-1)/(y))
|
|
|
|
|
|
|
|
#define DIVR( x, y ) (((x)+((y)/2))/(y))
|
|
|
|
|
2021-09-10 00:11:32 +03:00
|
|
|
#endif
|