comparison Common/Inc/global_constants.h @ 153:791cdfad0c8e FlipDisplay

Added definitions for SPI sequence counter
author Ideenmodellierer
date Sun, 03 Mar 2019 12:19:47 +0100
parents 22a1094545f3
children c659fda83e44
comparison
equal deleted inserted replaced
152:bc7795161549 153:791cdfad0c8e
34 #define MIN_BUTTONRESPONSIVENESS MIN_BUTTONRESPONSIVENESS_GUI-20 //MIN_BUTTONRESPONSIVENESS_GUI-20 correction 34 #define MIN_BUTTONRESPONSIVENESS MIN_BUTTONRESPONSIVENESS_GUI-20 //MIN_BUTTONRESPONSIVENESS_GUI-20 correction
35 #define MAX_BUTTONRESPONSIVENESS MAX_BUTTONRESPONSIVENESS_GUI+20//MIN_BUTTONRESPONSIVENESS_GUI+20correction 35 #define MAX_BUTTONRESPONSIVENESS MAX_BUTTONRESPONSIVENESS_GUI+20//MIN_BUTTONRESPONSIVENESS_GUI+20correction
36 #define BUTTON_DEBOUNCE_DELAY 50 //Delay for debounce filter for piezo buttons 36 #define BUTTON_DEBOUNCE_DELAY 50 //Delay for debounce filter for piezo buttons
37 37
38 38
39 //Spi sync data debug 39 // Spi sync data debug
40 #define SPI_SHOW_SYNC_STATS 1 40 #define SPI_SHOW_SYNC_STATS 1
41 #define SPI_MIN_ERROR_SHOW 10 41 #define SPI_MIN_ERROR_SHOW 10
42
43 // SPI header by index used for synchronization check (package sequence counter)
44 #define SPI_HEADER_INDEX_MASTER 1
45 #define SPI_HEADER_INDEX_SLAVE 2
42 46
43 47
44 //Text data 48 //Text data
45 #define TEXT_PRESSURE_UNIT "hPa" 49 #define TEXT_PRESSURE_UNIT "hPa"
46 #endif 50 #endif