optimation temp & adc

This commit is contained in:
Noah Piqué
2021-11-17 14:34:41 +01:00
parent 04d2bab659
commit cb3449f487
7 changed files with 51 additions and 40 deletions

View File

@ -40,13 +40,6 @@ extern "C" {
// Description: Definition of global constants (visible by all modules).
//=================================================================================================
// attention: perhaps you have to change the ADC sample time in ANPI_AnalogPortsIn.c
//#define ANPI_OVERSAMPLING_FACTOR 64
#define ANPI_OVERSAMPLING_FACTOR 64
#if( ANPI_OVERSAMPLING_FACTOR % 2 != 0 )
//#error "ANPI_OVERSAMPLING_FACTOR must be power of 2!"
#endif
//=================================================================================================
// Section: MACROS