mirror of https://github.com/rusefi/rusefi-1.git
code reuse good, code duplication bad
This commit is contained in:
parent
908dbd640c
commit
92625913d2
|
@ -44,20 +44,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define PORT_IDLE_THREAD_STACK_SIZE 32
|
||||
|
||||
// See global_shared.h notes about stack requirements
|
||||
// see also http://www.chibios.org/dokuwiki/doku.php?id=chibios:kb:stacks
|
||||
#define PORT_INT_REQUIRED_STACK 128
|
||||
|
||||
#define CHPRINTF_USE_FLOAT TRUE
|
||||
|
||||
#if !defined(EFI_CLOCK_LOCKS) || defined(__DOXYGEN__)
|
||||
// looks like this value could not be defined in efifeatures.h - please define either externally or just change the value here
|
||||
#define EFI_CLOCK_LOCKS FALSE
|
||||
#endif /* EFI_CLOCK_LOCKS */
|
||||
|
||||
|
||||
#include "chconf_common.h"
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -44,18 +44,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define PORT_IDLE_THREAD_STACK_SIZE 32
|
||||
|
||||
// See global_shared.h notes about stack requirements
|
||||
// see also http://www.chibios.org/dokuwiki/doku.php?id=chibios:kb:stacks
|
||||
#define PORT_INT_REQUIRED_STACK 128
|
||||
|
||||
#define CHPRINTF_USE_FLOAT TRUE
|
||||
|
||||
#if !defined(ENABLE_PERF_TRACE) || defined(__DOXYGEN__)
|
||||
// looks like this value could not be defined in efifeatures.h - please define either externally or just change the value here
|
||||
#define ENABLE_PERF_TRACE FALSE
|
||||
#endif /* ENABLE_PERF_TRACE */
|
||||
|
||||
#include "chconf_common.h"
|
||||
|
||||
|
|
|
@ -8,6 +8,19 @@
|
|||
#ifndef CONFIG_CHCONF_COMMON_H_
|
||||
#define CONFIG_CHCONF_COMMON_H_
|
||||
|
||||
#define PORT_IDLE_THREAD_STACK_SIZE 32
|
||||
|
||||
// See global_shared.h notes about stack requirements
|
||||
// see also http://www.chibios.org/dokuwiki/doku.php?id=chibios:kb:stacks
|
||||
#define PORT_INT_REQUIRED_STACK 128
|
||||
|
||||
#define CHPRINTF_USE_FLOAT TRUE
|
||||
|
||||
#if !defined(ENABLE_PERF_TRACE) || defined(__DOXYGEN__)
|
||||
// looks like this value could not be defined in efifeatures.h - please define either externally or just change the value here
|
||||
#define ENABLE_PERF_TRACE TRUE
|
||||
#endif /* ENABLE_PERF_TRACE */
|
||||
|
||||
#if !defined(_FROM_ASM_)
|
||||
#include "obd_error_codes.h"
|
||||
#endif /* _FROM_ASM_ */
|
||||
|
|
|
@ -41,18 +41,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define PORT_IDLE_THREAD_STACK_SIZE 32
|
||||
|
||||
// See global_shared.h notes about stack requirements
|
||||
// see also http://www.chibios.org/dokuwiki/doku.php?id=chibios:kb:stacks
|
||||
#define PORT_INT_REQUIRED_STACK 128
|
||||
|
||||
#define CHPRINTF_USE_FLOAT TRUE
|
||||
|
||||
#if !defined(ENABLE_PERF_TRACE) || defined(__DOXYGEN__)
|
||||
// looks like this value could not be defined in efifeatures.h - please define either externally or just change the value here
|
||||
#define ENABLE_PERF_TRACE TRUE
|
||||
#endif /* ENABLE_PERF_TRACE */
|
||||
|
||||
#include "chconf_common.h"
|
||||
|
||||
|
|
|
@ -41,18 +41,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define PORT_IDLE_THREAD_STACK_SIZE 32
|
||||
|
||||
// See global_shared.h notes about stack requirements
|
||||
// see also http://www.chibios.org/dokuwiki/doku.php?id=chibios:kb:stacks
|
||||
#define PORT_INT_REQUIRED_STACK 128
|
||||
|
||||
#define CHPRINTF_USE_FLOAT TRUE
|
||||
|
||||
#if !defined(ENABLE_PERF_TRACE) || defined(__DOXYGEN__)
|
||||
// looks like this value could not be defined in efifeatures.h - please define either externally or just change the value here
|
||||
#define ENABLE_PERF_TRACE TRUE
|
||||
#endif /* ENABLE_PERF_TRACE */
|
||||
|
||||
#include "chconf_common.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue