/*
See https://www.RoxXxtar.com/bmc for more details
Copyright (c) 2023 RoxXxtar.com
See BMC Documentation for License
See LICENSE file in the project root for full license information.
*/

#ifndef BMC_CONFIG_CHECK_PINS_H
#define BMC_CONFIG_CHECK_PINS_H


#ifndef BMC_MAX_PAGES
  #define BMC_MAX_PAGES 1
#endif


#ifndef BMC_MAX_MUX_GPIO
  #define BMC_MAX_MUX_GPIO 0
#endif

#ifndef BMC_MAX_MUX_IN
  #define BMC_MAX_MUX_IN 0
#endif

#ifndef BMC_MAX_MUX_OUT
  #define BMC_MAX_MUX_OUT 0
#endif

#ifndef BMC_MAX_MUX_IN_ANALOG
  #define BMC_MAX_MUX_IN_ANALOG 0
#endif

#ifndef BMC_MAX_MUX_IN_KEYPAD
  #define BMC_MAX_MUX_IN_KEYPAD 0
#endif

#ifndef BMC_MAX_BUTTON_EVENTS
  #define BMC_MAX_BUTTON_EVENTS 0
#endif

#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 0
#if defined(BMC_DEVICE_UI_BUTTON_1)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 1

#if defined(BMC_DEVICE_UI_BUTTON_2)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 2

#if defined(BMC_DEVICE_UI_BUTTON_3)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 3

#if defined(BMC_DEVICE_UI_BUTTON_4)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 4

#if defined(BMC_DEVICE_UI_BUTTON_5)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 5

#if defined(BMC_DEVICE_UI_BUTTON_6)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 6

#if defined(BMC_DEVICE_UI_BUTTON_7)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 7

#if defined(BMC_DEVICE_UI_BUTTON_8)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 8

#if defined(BMC_DEVICE_UI_BUTTON_9)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 9

#if defined(BMC_DEVICE_UI_BUTTON_10)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 10

#if defined(BMC_DEVICE_UI_BUTTON_11)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 11

#if defined(BMC_DEVICE_UI_BUTTON_12)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 12

#if defined(BMC_DEVICE_UI_BUTTON_13)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 13

#if defined(BMC_DEVICE_UI_BUTTON_14)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 14

#if defined(BMC_DEVICE_UI_BUTTON_15)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 15

#if defined(BMC_DEVICE_UI_BUTTON_16)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 16

#if defined(BMC_DEVICE_UI_BUTTON_17)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 17

#if defined(BMC_DEVICE_UI_BUTTON_18)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 18

#if defined(BMC_DEVICE_UI_BUTTON_19)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 19

#if defined(BMC_DEVICE_UI_BUTTON_20)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 20

#if defined(BMC_DEVICE_UI_BUTTON_21)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 21

#if defined(BMC_DEVICE_UI_BUTTON_22)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 22

#if defined(BMC_DEVICE_UI_BUTTON_23)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 23

#if defined(BMC_DEVICE_UI_BUTTON_24)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 24

#if defined(BMC_DEVICE_UI_BUTTON_25)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 25

#if defined(BMC_DEVICE_UI_BUTTON_26)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 26

#if defined(BMC_DEVICE_UI_BUTTON_27)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 27

#if defined(BMC_DEVICE_UI_BUTTON_28)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 28

#if defined(BMC_DEVICE_UI_BUTTON_29)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 29

#if defined(BMC_DEVICE_UI_BUTTON_30)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 30

#if defined(BMC_DEVICE_UI_BUTTON_31)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 31

#if defined(BMC_DEVICE_UI_BUTTON_32)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 32

#if defined(BMC_DEVICE_UI_BUTTON_33)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 33

#if defined(BMC_DEVICE_UI_BUTTON_34)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 34

#if defined(BMC_DEVICE_UI_BUTTON_35)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 35

#if defined(BMC_DEVICE_UI_BUTTON_36)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 36

#if defined(BMC_DEVICE_UI_BUTTON_37)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 37

#if defined(BMC_DEVICE_UI_BUTTON_38)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 38

#if defined(BMC_DEVICE_UI_BUTTON_39)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 39

#if defined(BMC_DEVICE_UI_BUTTON_40)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 40

#if defined(BMC_DEVICE_UI_BUTTON_41)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 41

#if defined(BMC_DEVICE_UI_BUTTON_42)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 42

#if defined(BMC_DEVICE_UI_BUTTON_43)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 43

#if defined(BMC_DEVICE_UI_BUTTON_44)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 44

#if defined(BMC_DEVICE_UI_BUTTON_45)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 45

#if defined(BMC_DEVICE_UI_BUTTON_46)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 46

#if defined(BMC_DEVICE_UI_BUTTON_47)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 47

#if defined(BMC_DEVICE_UI_BUTTON_48)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 48

#if defined(BMC_DEVICE_UI_BUTTON_49)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 49

#if defined(BMC_DEVICE_UI_BUTTON_50)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 50

#if defined(BMC_DEVICE_UI_BUTTON_51)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 51

#if defined(BMC_DEVICE_UI_BUTTON_52)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 52

#if defined(BMC_DEVICE_UI_BUTTON_53)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 53

#if defined(BMC_DEVICE_UI_BUTTON_54)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 54

#if defined(BMC_DEVICE_UI_BUTTON_55)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 55

#if defined(BMC_DEVICE_UI_BUTTON_56)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 56

#if defined(BMC_DEVICE_UI_BUTTON_57)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 57

#if defined(BMC_DEVICE_UI_BUTTON_58)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 58

#if defined(BMC_DEVICE_UI_BUTTON_59)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 59

#if defined(BMC_DEVICE_UI_BUTTON_60)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 60

#if defined(BMC_DEVICE_UI_BUTTON_61)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 61

#if defined(BMC_DEVICE_UI_BUTTON_62)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 62

#if defined(BMC_DEVICE_UI_BUTTON_63)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 63

#if defined(BMC_DEVICE_UI_BUTTON_64)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 64

#if defined(BMC_DEVICE_UI_BUTTON_65)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 65

#if defined(BMC_DEVICE_UI_BUTTON_66)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 66

#if defined(BMC_DEVICE_UI_BUTTON_67)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 67

#if defined(BMC_DEVICE_UI_BUTTON_68)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 68

#if defined(BMC_DEVICE_UI_BUTTON_69)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 69

#if defined(BMC_DEVICE_UI_BUTTON_70)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 70

#if defined(BMC_DEVICE_UI_BUTTON_71)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 71

#if defined(BMC_DEVICE_UI_BUTTON_72)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 72

#if defined(BMC_DEVICE_UI_BUTTON_73)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 73

#if defined(BMC_DEVICE_UI_BUTTON_74)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 74

#if defined(BMC_DEVICE_UI_BUTTON_75)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 75

#if defined(BMC_DEVICE_UI_BUTTON_76)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 76

#if defined(BMC_DEVICE_UI_BUTTON_77)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 77

#if defined(BMC_DEVICE_UI_BUTTON_78)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 78

#if defined(BMC_DEVICE_UI_BUTTON_79)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 79

#if defined(BMC_DEVICE_UI_BUTTON_80)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 80

#if defined(BMC_DEVICE_UI_BUTTON_81)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 81

#if defined(BMC_DEVICE_UI_BUTTON_82)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 82

#if defined(BMC_DEVICE_UI_BUTTON_83)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 83

#if defined(BMC_DEVICE_UI_BUTTON_84)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 84

#if defined(BMC_DEVICE_UI_BUTTON_85)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 85

#if defined(BMC_DEVICE_UI_BUTTON_86)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 86

#if defined(BMC_DEVICE_UI_BUTTON_87)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 87

#if defined(BMC_DEVICE_UI_BUTTON_88)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 88

#if defined(BMC_DEVICE_UI_BUTTON_89)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 89

#if defined(BMC_DEVICE_UI_BUTTON_90)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 90

#if defined(BMC_DEVICE_UI_BUTTON_91)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 91

#if defined(BMC_DEVICE_UI_BUTTON_92)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 92

#if defined(BMC_DEVICE_UI_BUTTON_93)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 93

#if defined(BMC_DEVICE_UI_BUTTON_94)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 94

#if defined(BMC_DEVICE_UI_BUTTON_95)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 95

#if defined(BMC_DEVICE_UI_BUTTON_96)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 96

#if defined(BMC_DEVICE_UI_BUTTON_97)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 97

#if defined(BMC_DEVICE_UI_BUTTON_98)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 98

#if defined(BMC_DEVICE_UI_BUTTON_99)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 99

#if defined(BMC_DEVICE_UI_BUTTON_100)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 100

#if defined(BMC_DEVICE_UI_BUTTON_101)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 101

#if defined(BMC_DEVICE_UI_BUTTON_102)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 102

#if defined(BMC_DEVICE_UI_BUTTON_103)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 103

#if defined(BMC_DEVICE_UI_BUTTON_104)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 104

#if defined(BMC_DEVICE_UI_BUTTON_105)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 105

#if defined(BMC_DEVICE_UI_BUTTON_106)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 106

#if defined(BMC_DEVICE_UI_BUTTON_107)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 107

#if defined(BMC_DEVICE_UI_BUTTON_108)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 108

#if defined(BMC_DEVICE_UI_BUTTON_109)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 109

#if defined(BMC_DEVICE_UI_BUTTON_110)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 110

#if defined(BMC_DEVICE_UI_BUTTON_111)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 111

#if defined(BMC_DEVICE_UI_BUTTON_112)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 112

#if defined(BMC_DEVICE_UI_BUTTON_113)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 113

#if defined(BMC_DEVICE_UI_BUTTON_114)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 114

#if defined(BMC_DEVICE_UI_BUTTON_115)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 115

#if defined(BMC_DEVICE_UI_BUTTON_116)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 116

#if defined(BMC_DEVICE_UI_BUTTON_117)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 117

#if defined(BMC_DEVICE_UI_BUTTON_118)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 118

#if defined(BMC_DEVICE_UI_BUTTON_119)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 119

#if defined(BMC_DEVICE_UI_BUTTON_120)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 120

#if defined(BMC_DEVICE_UI_BUTTON_121)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 121

#if defined(BMC_DEVICE_UI_BUTTON_122)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 122

#if defined(BMC_DEVICE_UI_BUTTON_123)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 123

#if defined(BMC_DEVICE_UI_BUTTON_124)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 124

#if defined(BMC_DEVICE_UI_BUTTON_125)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 125

#if defined(BMC_DEVICE_UI_BUTTON_126)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 126

#if defined(BMC_DEVICE_UI_BUTTON_127)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 127

#if defined(BMC_DEVICE_UI_BUTTON_128)
#ifdef BMC_MAX_BUTTONS
#undef BMC_MAX_BUTTONS
#endif
#define BMC_MAX_BUTTONS 128

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 0
#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_1)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 1

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_2)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 2

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_3)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 3

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_4)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 4

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_5)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 5

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_6)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 6

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_7)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 7

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_8)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 8

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_9)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 9

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_10)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 10

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_11)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 11

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_12)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 12

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_13)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 13

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_14)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 14

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_15)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 15

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_16)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 16

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_17)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 17

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_18)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 18

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_19)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 19

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_20)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 20

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_21)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 21

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_22)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 22

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_23)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 23

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_24)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 24

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_25)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 25

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_26)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 26

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_27)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 27

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_28)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 28

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_29)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 29

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_30)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 30

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_31)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 31

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_32)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 32

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_33)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 33

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_34)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 34

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_35)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 35

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_36)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 36

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_37)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 37

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_38)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 38

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_39)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 39

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_40)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 40

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_41)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 41

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_42)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 42

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_43)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 43

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_44)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 44

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_45)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 45

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_46)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 46

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_47)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 47

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_48)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 48

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_49)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 49

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_50)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 50

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_51)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 51

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_52)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 52

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_53)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 53

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_54)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 54

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_55)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 55

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_56)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 56

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_57)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 57

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_58)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 58

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_59)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 59

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_60)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 60

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_61)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 61

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_62)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 62

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_63)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 63

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_64)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 64

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_65)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 65

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_66)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 66

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_67)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 67

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_68)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 68

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_69)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 69

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_70)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 70

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_71)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 71

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_72)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 72

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_73)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 73

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_74)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 74

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_75)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 75

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_76)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 76

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_77)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 77

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_78)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 78

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_79)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 79

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_80)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 80

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_81)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 81

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_82)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 82

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_83)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 83

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_84)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 84

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_85)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 85

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_86)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 86

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_87)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 87

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_88)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 88

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_89)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 89

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_90)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 90

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_91)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 91

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_92)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 92

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_93)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 93

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_94)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 94

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_95)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 95

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_96)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 96

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_97)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 97

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_98)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 98

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_99)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 99

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_100)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 100

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_101)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 101

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_102)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 102

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_103)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 103

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_104)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 104

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_105)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 105

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_106)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 106

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_107)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 107

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_108)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 108

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_109)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 109

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_110)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 110

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_111)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 111

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_112)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 112

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_113)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 113

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_114)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 114

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_115)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 115

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_116)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 116

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_117)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 117

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_118)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 118

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_119)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 119

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_120)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 120

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_121)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 121

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_122)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 122

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_123)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 123

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_124)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 124

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_125)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 125

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_126)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 126

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_127)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 127

#if defined(BMC_DEVICE_UI_GLOBAL_BUTTON_128)
#ifdef BMC_MAX_GLOBAL_BUTTONS
#undef BMC_MAX_GLOBAL_BUTTONS
#endif
#define BMC_MAX_GLOBAL_BUTTONS 128

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 0
#if defined(BMC_DEVICE_UI_LED_1)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 1

#if defined(BMC_DEVICE_UI_LED_2)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 2

#if defined(BMC_DEVICE_UI_LED_3)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 3

#if defined(BMC_DEVICE_UI_LED_4)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 4

#if defined(BMC_DEVICE_UI_LED_5)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 5

#if defined(BMC_DEVICE_UI_LED_6)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 6

#if defined(BMC_DEVICE_UI_LED_7)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 7

#if defined(BMC_DEVICE_UI_LED_8)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 8

#if defined(BMC_DEVICE_UI_LED_9)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 9

#if defined(BMC_DEVICE_UI_LED_10)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 10

#if defined(BMC_DEVICE_UI_LED_11)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 11

#if defined(BMC_DEVICE_UI_LED_12)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 12

#if defined(BMC_DEVICE_UI_LED_13)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 13

#if defined(BMC_DEVICE_UI_LED_14)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 14

#if defined(BMC_DEVICE_UI_LED_15)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 15

#if defined(BMC_DEVICE_UI_LED_16)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 16

#if defined(BMC_DEVICE_UI_LED_17)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 17

#if defined(BMC_DEVICE_UI_LED_18)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 18

#if defined(BMC_DEVICE_UI_LED_19)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 19

#if defined(BMC_DEVICE_UI_LED_20)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 20

#if defined(BMC_DEVICE_UI_LED_21)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 21

#if defined(BMC_DEVICE_UI_LED_22)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 22

#if defined(BMC_DEVICE_UI_LED_23)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 23

#if defined(BMC_DEVICE_UI_LED_24)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 24

#if defined(BMC_DEVICE_UI_LED_25)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 25

#if defined(BMC_DEVICE_UI_LED_26)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 26

#if defined(BMC_DEVICE_UI_LED_27)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 27

#if defined(BMC_DEVICE_UI_LED_28)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 28

#if defined(BMC_DEVICE_UI_LED_29)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 29

#if defined(BMC_DEVICE_UI_LED_30)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 30

#if defined(BMC_DEVICE_UI_LED_31)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 31

#if defined(BMC_DEVICE_UI_LED_32)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 32

#if defined(BMC_DEVICE_UI_LED_33)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 33

#if defined(BMC_DEVICE_UI_LED_34)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 34

#if defined(BMC_DEVICE_UI_LED_35)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 35

#if defined(BMC_DEVICE_UI_LED_36)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 36

#if defined(BMC_DEVICE_UI_LED_37)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 37

#if defined(BMC_DEVICE_UI_LED_38)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 38

#if defined(BMC_DEVICE_UI_LED_39)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 39

#if defined(BMC_DEVICE_UI_LED_40)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 40

#if defined(BMC_DEVICE_UI_LED_41)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 41

#if defined(BMC_DEVICE_UI_LED_42)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 42

#if defined(BMC_DEVICE_UI_LED_43)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 43

#if defined(BMC_DEVICE_UI_LED_44)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 44

#if defined(BMC_DEVICE_UI_LED_45)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 45

#if defined(BMC_DEVICE_UI_LED_46)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 46

#if defined(BMC_DEVICE_UI_LED_47)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 47

#if defined(BMC_DEVICE_UI_LED_48)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 48

#if defined(BMC_DEVICE_UI_LED_49)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 49

#if defined(BMC_DEVICE_UI_LED_50)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 50

#if defined(BMC_DEVICE_UI_LED_51)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 51

#if defined(BMC_DEVICE_UI_LED_52)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 52

#if defined(BMC_DEVICE_UI_LED_53)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 53

#if defined(BMC_DEVICE_UI_LED_54)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 54

#if defined(BMC_DEVICE_UI_LED_55)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 55

#if defined(BMC_DEVICE_UI_LED_56)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 56

#if defined(BMC_DEVICE_UI_LED_57)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 57

#if defined(BMC_DEVICE_UI_LED_58)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 58

#if defined(BMC_DEVICE_UI_LED_59)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 59

#if defined(BMC_DEVICE_UI_LED_60)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 60

#if defined(BMC_DEVICE_UI_LED_61)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 61

#if defined(BMC_DEVICE_UI_LED_62)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 62

#if defined(BMC_DEVICE_UI_LED_63)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 63

#if defined(BMC_DEVICE_UI_LED_64)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 64

#if defined(BMC_DEVICE_UI_LED_65)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 65

#if defined(BMC_DEVICE_UI_LED_66)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 66

#if defined(BMC_DEVICE_UI_LED_67)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 67

#if defined(BMC_DEVICE_UI_LED_68)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 68

#if defined(BMC_DEVICE_UI_LED_69)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 69

#if defined(BMC_DEVICE_UI_LED_70)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 70

#if defined(BMC_DEVICE_UI_LED_71)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 71

#if defined(BMC_DEVICE_UI_LED_72)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 72

#if defined(BMC_DEVICE_UI_LED_73)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 73

#if defined(BMC_DEVICE_UI_LED_74)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 74

#if defined(BMC_DEVICE_UI_LED_75)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 75

#if defined(BMC_DEVICE_UI_LED_76)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 76

#if defined(BMC_DEVICE_UI_LED_77)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 77

#if defined(BMC_DEVICE_UI_LED_78)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 78

#if defined(BMC_DEVICE_UI_LED_79)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 79

#if defined(BMC_DEVICE_UI_LED_80)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 80

#if defined(BMC_DEVICE_UI_LED_81)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 81

#if defined(BMC_DEVICE_UI_LED_82)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 82

#if defined(BMC_DEVICE_UI_LED_83)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 83

#if defined(BMC_DEVICE_UI_LED_84)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 84

#if defined(BMC_DEVICE_UI_LED_85)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 85

#if defined(BMC_DEVICE_UI_LED_86)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 86

#if defined(BMC_DEVICE_UI_LED_87)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 87

#if defined(BMC_DEVICE_UI_LED_88)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 88

#if defined(BMC_DEVICE_UI_LED_89)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 89

#if defined(BMC_DEVICE_UI_LED_90)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 90

#if defined(BMC_DEVICE_UI_LED_91)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 91

#if defined(BMC_DEVICE_UI_LED_92)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 92

#if defined(BMC_DEVICE_UI_LED_93)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 93

#if defined(BMC_DEVICE_UI_LED_94)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 94

#if defined(BMC_DEVICE_UI_LED_95)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 95

#if defined(BMC_DEVICE_UI_LED_96)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 96

#if defined(BMC_DEVICE_UI_LED_97)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 97

#if defined(BMC_DEVICE_UI_LED_98)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 98

#if defined(BMC_DEVICE_UI_LED_99)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 99

#if defined(BMC_DEVICE_UI_LED_100)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 100

#if defined(BMC_DEVICE_UI_LED_101)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 101

#if defined(BMC_DEVICE_UI_LED_102)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 102

#if defined(BMC_DEVICE_UI_LED_103)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 103

#if defined(BMC_DEVICE_UI_LED_104)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 104

#if defined(BMC_DEVICE_UI_LED_105)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 105

#if defined(BMC_DEVICE_UI_LED_106)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 106

#if defined(BMC_DEVICE_UI_LED_107)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 107

#if defined(BMC_DEVICE_UI_LED_108)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 108

#if defined(BMC_DEVICE_UI_LED_109)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 109

#if defined(BMC_DEVICE_UI_LED_110)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 110

#if defined(BMC_DEVICE_UI_LED_111)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 111

#if defined(BMC_DEVICE_UI_LED_112)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 112

#if defined(BMC_DEVICE_UI_LED_113)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 113

#if defined(BMC_DEVICE_UI_LED_114)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 114

#if defined(BMC_DEVICE_UI_LED_115)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 115

#if defined(BMC_DEVICE_UI_LED_116)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 116

#if defined(BMC_DEVICE_UI_LED_117)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 117

#if defined(BMC_DEVICE_UI_LED_118)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 118

#if defined(BMC_DEVICE_UI_LED_119)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 119

#if defined(BMC_DEVICE_UI_LED_120)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 120

#if defined(BMC_DEVICE_UI_LED_121)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 121

#if defined(BMC_DEVICE_UI_LED_122)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 122

#if defined(BMC_DEVICE_UI_LED_123)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 123

#if defined(BMC_DEVICE_UI_LED_124)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 124

#if defined(BMC_DEVICE_UI_LED_125)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 125

#if defined(BMC_DEVICE_UI_LED_126)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 126

#if defined(BMC_DEVICE_UI_LED_127)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 127

#if defined(BMC_DEVICE_UI_LED_128)
#ifdef BMC_MAX_LEDS
#undef BMC_MAX_LEDS
#endif
#define BMC_MAX_LEDS 128

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 0
#if defined(BMC_DEVICE_UI_GLOBAL_LED_1)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 1

#if defined(BMC_DEVICE_UI_GLOBAL_LED_2)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 2

#if defined(BMC_DEVICE_UI_GLOBAL_LED_3)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 3

#if defined(BMC_DEVICE_UI_GLOBAL_LED_4)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 4

#if defined(BMC_DEVICE_UI_GLOBAL_LED_5)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 5

#if defined(BMC_DEVICE_UI_GLOBAL_LED_6)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 6

#if defined(BMC_DEVICE_UI_GLOBAL_LED_7)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 7

#if defined(BMC_DEVICE_UI_GLOBAL_LED_8)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 8

#if defined(BMC_DEVICE_UI_GLOBAL_LED_9)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 9

#if defined(BMC_DEVICE_UI_GLOBAL_LED_10)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 10

#if defined(BMC_DEVICE_UI_GLOBAL_LED_11)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 11

#if defined(BMC_DEVICE_UI_GLOBAL_LED_12)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 12

#if defined(BMC_DEVICE_UI_GLOBAL_LED_13)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 13

#if defined(BMC_DEVICE_UI_GLOBAL_LED_14)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 14

#if defined(BMC_DEVICE_UI_GLOBAL_LED_15)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 15

#if defined(BMC_DEVICE_UI_GLOBAL_LED_16)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 16

#if defined(BMC_DEVICE_UI_GLOBAL_LED_17)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 17

#if defined(BMC_DEVICE_UI_GLOBAL_LED_18)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 18

#if defined(BMC_DEVICE_UI_GLOBAL_LED_19)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 19

#if defined(BMC_DEVICE_UI_GLOBAL_LED_20)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 20

#if defined(BMC_DEVICE_UI_GLOBAL_LED_21)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 21

#if defined(BMC_DEVICE_UI_GLOBAL_LED_22)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 22

#if defined(BMC_DEVICE_UI_GLOBAL_LED_23)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 23

#if defined(BMC_DEVICE_UI_GLOBAL_LED_24)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 24

#if defined(BMC_DEVICE_UI_GLOBAL_LED_25)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 25

#if defined(BMC_DEVICE_UI_GLOBAL_LED_26)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 26

#if defined(BMC_DEVICE_UI_GLOBAL_LED_27)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 27

#if defined(BMC_DEVICE_UI_GLOBAL_LED_28)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 28

#if defined(BMC_DEVICE_UI_GLOBAL_LED_29)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 29

#if defined(BMC_DEVICE_UI_GLOBAL_LED_30)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 30

#if defined(BMC_DEVICE_UI_GLOBAL_LED_31)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 31

#if defined(BMC_DEVICE_UI_GLOBAL_LED_32)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 32

#if defined(BMC_DEVICE_UI_GLOBAL_LED_33)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 33

#if defined(BMC_DEVICE_UI_GLOBAL_LED_34)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 34

#if defined(BMC_DEVICE_UI_GLOBAL_LED_35)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 35

#if defined(BMC_DEVICE_UI_GLOBAL_LED_36)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 36

#if defined(BMC_DEVICE_UI_GLOBAL_LED_37)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 37

#if defined(BMC_DEVICE_UI_GLOBAL_LED_38)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 38

#if defined(BMC_DEVICE_UI_GLOBAL_LED_39)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 39

#if defined(BMC_DEVICE_UI_GLOBAL_LED_40)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 40

#if defined(BMC_DEVICE_UI_GLOBAL_LED_41)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 41

#if defined(BMC_DEVICE_UI_GLOBAL_LED_42)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 42

#if defined(BMC_DEVICE_UI_GLOBAL_LED_43)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 43

#if defined(BMC_DEVICE_UI_GLOBAL_LED_44)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 44

#if defined(BMC_DEVICE_UI_GLOBAL_LED_45)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 45

#if defined(BMC_DEVICE_UI_GLOBAL_LED_46)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 46

#if defined(BMC_DEVICE_UI_GLOBAL_LED_47)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 47

#if defined(BMC_DEVICE_UI_GLOBAL_LED_48)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 48

#if defined(BMC_DEVICE_UI_GLOBAL_LED_49)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 49

#if defined(BMC_DEVICE_UI_GLOBAL_LED_50)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 50

#if defined(BMC_DEVICE_UI_GLOBAL_LED_51)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 51

#if defined(BMC_DEVICE_UI_GLOBAL_LED_52)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 52

#if defined(BMC_DEVICE_UI_GLOBAL_LED_53)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 53

#if defined(BMC_DEVICE_UI_GLOBAL_LED_54)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 54

#if defined(BMC_DEVICE_UI_GLOBAL_LED_55)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 55

#if defined(BMC_DEVICE_UI_GLOBAL_LED_56)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 56

#if defined(BMC_DEVICE_UI_GLOBAL_LED_57)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 57

#if defined(BMC_DEVICE_UI_GLOBAL_LED_58)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 58

#if defined(BMC_DEVICE_UI_GLOBAL_LED_59)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 59

#if defined(BMC_DEVICE_UI_GLOBAL_LED_60)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 60

#if defined(BMC_DEVICE_UI_GLOBAL_LED_61)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 61

#if defined(BMC_DEVICE_UI_GLOBAL_LED_62)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 62

#if defined(BMC_DEVICE_UI_GLOBAL_LED_63)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 63

#if defined(BMC_DEVICE_UI_GLOBAL_LED_64)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 64

#if defined(BMC_DEVICE_UI_GLOBAL_LED_65)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 65

#if defined(BMC_DEVICE_UI_GLOBAL_LED_66)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 66

#if defined(BMC_DEVICE_UI_GLOBAL_LED_67)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 67

#if defined(BMC_DEVICE_UI_GLOBAL_LED_68)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 68

#if defined(BMC_DEVICE_UI_GLOBAL_LED_69)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 69

#if defined(BMC_DEVICE_UI_GLOBAL_LED_70)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 70

#if defined(BMC_DEVICE_UI_GLOBAL_LED_71)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 71

#if defined(BMC_DEVICE_UI_GLOBAL_LED_72)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 72

#if defined(BMC_DEVICE_UI_GLOBAL_LED_73)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 73

#if defined(BMC_DEVICE_UI_GLOBAL_LED_74)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 74

#if defined(BMC_DEVICE_UI_GLOBAL_LED_75)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 75

#if defined(BMC_DEVICE_UI_GLOBAL_LED_76)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 76

#if defined(BMC_DEVICE_UI_GLOBAL_LED_77)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 77

#if defined(BMC_DEVICE_UI_GLOBAL_LED_78)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 78

#if defined(BMC_DEVICE_UI_GLOBAL_LED_79)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 79

#if defined(BMC_DEVICE_UI_GLOBAL_LED_80)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 80

#if defined(BMC_DEVICE_UI_GLOBAL_LED_81)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 81

#if defined(BMC_DEVICE_UI_GLOBAL_LED_82)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 82

#if defined(BMC_DEVICE_UI_GLOBAL_LED_83)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 83

#if defined(BMC_DEVICE_UI_GLOBAL_LED_84)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 84

#if defined(BMC_DEVICE_UI_GLOBAL_LED_85)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 85

#if defined(BMC_DEVICE_UI_GLOBAL_LED_86)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 86

#if defined(BMC_DEVICE_UI_GLOBAL_LED_87)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 87

#if defined(BMC_DEVICE_UI_GLOBAL_LED_88)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 88

#if defined(BMC_DEVICE_UI_GLOBAL_LED_89)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 89

#if defined(BMC_DEVICE_UI_GLOBAL_LED_90)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 90

#if defined(BMC_DEVICE_UI_GLOBAL_LED_91)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 91

#if defined(BMC_DEVICE_UI_GLOBAL_LED_92)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 92

#if defined(BMC_DEVICE_UI_GLOBAL_LED_93)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 93

#if defined(BMC_DEVICE_UI_GLOBAL_LED_94)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 94

#if defined(BMC_DEVICE_UI_GLOBAL_LED_95)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 95

#if defined(BMC_DEVICE_UI_GLOBAL_LED_96)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 96

#if defined(BMC_DEVICE_UI_GLOBAL_LED_97)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 97

#if defined(BMC_DEVICE_UI_GLOBAL_LED_98)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 98

#if defined(BMC_DEVICE_UI_GLOBAL_LED_99)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 99

#if defined(BMC_DEVICE_UI_GLOBAL_LED_100)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 100

#if defined(BMC_DEVICE_UI_GLOBAL_LED_101)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 101

#if defined(BMC_DEVICE_UI_GLOBAL_LED_102)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 102

#if defined(BMC_DEVICE_UI_GLOBAL_LED_103)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 103

#if defined(BMC_DEVICE_UI_GLOBAL_LED_104)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 104

#if defined(BMC_DEVICE_UI_GLOBAL_LED_105)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 105

#if defined(BMC_DEVICE_UI_GLOBAL_LED_106)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 106

#if defined(BMC_DEVICE_UI_GLOBAL_LED_107)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 107

#if defined(BMC_DEVICE_UI_GLOBAL_LED_108)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 108

#if defined(BMC_DEVICE_UI_GLOBAL_LED_109)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 109

#if defined(BMC_DEVICE_UI_GLOBAL_LED_110)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 110

#if defined(BMC_DEVICE_UI_GLOBAL_LED_111)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 111

#if defined(BMC_DEVICE_UI_GLOBAL_LED_112)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 112

#if defined(BMC_DEVICE_UI_GLOBAL_LED_113)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 113

#if defined(BMC_DEVICE_UI_GLOBAL_LED_114)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 114

#if defined(BMC_DEVICE_UI_GLOBAL_LED_115)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 115

#if defined(BMC_DEVICE_UI_GLOBAL_LED_116)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 116

#if defined(BMC_DEVICE_UI_GLOBAL_LED_117)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 117

#if defined(BMC_DEVICE_UI_GLOBAL_LED_118)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 118

#if defined(BMC_DEVICE_UI_GLOBAL_LED_119)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 119

#if defined(BMC_DEVICE_UI_GLOBAL_LED_120)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 120

#if defined(BMC_DEVICE_UI_GLOBAL_LED_121)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 121

#if defined(BMC_DEVICE_UI_GLOBAL_LED_122)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 122

#if defined(BMC_DEVICE_UI_GLOBAL_LED_123)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 123

#if defined(BMC_DEVICE_UI_GLOBAL_LED_124)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 124

#if defined(BMC_DEVICE_UI_GLOBAL_LED_125)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 125

#if defined(BMC_DEVICE_UI_GLOBAL_LED_126)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 126

#if defined(BMC_DEVICE_UI_GLOBAL_LED_127)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 127

#if defined(BMC_DEVICE_UI_GLOBAL_LED_128)
#ifdef BMC_MAX_GLOBAL_LEDS
#undef BMC_MAX_GLOBAL_LEDS
#endif
#define BMC_MAX_GLOBAL_LEDS 128

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 0
#if defined(BMC_DEVICE_UI_BI_LED_1)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 1

#if defined(BMC_DEVICE_UI_BI_LED_2)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 2

#if defined(BMC_DEVICE_UI_BI_LED_3)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 3

#if defined(BMC_DEVICE_UI_BI_LED_4)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 4

#if defined(BMC_DEVICE_UI_BI_LED_5)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 5

#if defined(BMC_DEVICE_UI_BI_LED_6)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 6

#if defined(BMC_DEVICE_UI_BI_LED_7)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 7

#if defined(BMC_DEVICE_UI_BI_LED_8)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 8

#if defined(BMC_DEVICE_UI_BI_LED_9)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 9

#if defined(BMC_DEVICE_UI_BI_LED_10)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 10

#if defined(BMC_DEVICE_UI_BI_LED_11)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 11

#if defined(BMC_DEVICE_UI_BI_LED_12)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 12

#if defined(BMC_DEVICE_UI_BI_LED_13)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 13

#if defined(BMC_DEVICE_UI_BI_LED_14)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 14

#if defined(BMC_DEVICE_UI_BI_LED_15)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 15

#if defined(BMC_DEVICE_UI_BI_LED_16)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 16

#if defined(BMC_DEVICE_UI_BI_LED_17)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 17

#if defined(BMC_DEVICE_UI_BI_LED_18)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 18

#if defined(BMC_DEVICE_UI_BI_LED_19)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 19

#if defined(BMC_DEVICE_UI_BI_LED_20)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 20

#if defined(BMC_DEVICE_UI_BI_LED_21)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 21

#if defined(BMC_DEVICE_UI_BI_LED_22)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 22

#if defined(BMC_DEVICE_UI_BI_LED_23)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 23

#if defined(BMC_DEVICE_UI_BI_LED_24)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 24

#if defined(BMC_DEVICE_UI_BI_LED_25)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 25

#if defined(BMC_DEVICE_UI_BI_LED_26)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 26

#if defined(BMC_DEVICE_UI_BI_LED_27)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 27

#if defined(BMC_DEVICE_UI_BI_LED_28)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 28

#if defined(BMC_DEVICE_UI_BI_LED_29)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 29

#if defined(BMC_DEVICE_UI_BI_LED_30)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 30

#if defined(BMC_DEVICE_UI_BI_LED_31)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 31

#if defined(BMC_DEVICE_UI_BI_LED_32)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 32

#if defined(BMC_DEVICE_UI_BI_LED_33)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 33

#if defined(BMC_DEVICE_UI_BI_LED_34)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 34

#if defined(BMC_DEVICE_UI_BI_LED_35)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 35

#if defined(BMC_DEVICE_UI_BI_LED_36)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 36

#if defined(BMC_DEVICE_UI_BI_LED_37)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 37

#if defined(BMC_DEVICE_UI_BI_LED_38)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 38

#if defined(BMC_DEVICE_UI_BI_LED_39)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 39

#if defined(BMC_DEVICE_UI_BI_LED_40)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 40

#if defined(BMC_DEVICE_UI_BI_LED_41)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 41

#if defined(BMC_DEVICE_UI_BI_LED_42)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 42

#if defined(BMC_DEVICE_UI_BI_LED_43)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 43

#if defined(BMC_DEVICE_UI_BI_LED_44)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 44

#if defined(BMC_DEVICE_UI_BI_LED_45)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 45

#if defined(BMC_DEVICE_UI_BI_LED_46)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 46

#if defined(BMC_DEVICE_UI_BI_LED_47)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 47

#if defined(BMC_DEVICE_UI_BI_LED_48)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 48

#if defined(BMC_DEVICE_UI_BI_LED_49)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 49

#if defined(BMC_DEVICE_UI_BI_LED_50)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 50

#if defined(BMC_DEVICE_UI_BI_LED_51)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 51

#if defined(BMC_DEVICE_UI_BI_LED_52)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 52

#if defined(BMC_DEVICE_UI_BI_LED_53)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 53

#if defined(BMC_DEVICE_UI_BI_LED_54)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 54

#if defined(BMC_DEVICE_UI_BI_LED_55)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 55

#if defined(BMC_DEVICE_UI_BI_LED_56)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 56

#if defined(BMC_DEVICE_UI_BI_LED_57)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 57

#if defined(BMC_DEVICE_UI_BI_LED_58)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 58

#if defined(BMC_DEVICE_UI_BI_LED_59)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 59

#if defined(BMC_DEVICE_UI_BI_LED_60)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 60

#if defined(BMC_DEVICE_UI_BI_LED_61)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 61

#if defined(BMC_DEVICE_UI_BI_LED_62)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 62

#if defined(BMC_DEVICE_UI_BI_LED_63)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 63

#if defined(BMC_DEVICE_UI_BI_LED_64)
#ifdef BMC_MAX_BI_LEDS
#undef BMC_MAX_BI_LEDS
#endif
#define BMC_MAX_BI_LEDS 64

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 0
#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_1)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 1

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_2)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 2

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_3)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 3

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_4)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 4

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_5)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 5

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_6)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 6

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_7)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 7

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_8)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 8

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_9)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 9

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_10)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 10

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_11)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 11

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_12)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 12

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_13)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 13

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_14)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 14

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_15)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 15

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_16)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 16

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_17)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 17

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_18)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 18

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_19)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 19

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_20)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 20

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_21)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 21

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_22)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 22

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_23)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 23

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_24)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 24

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_25)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 25

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_26)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 26

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_27)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 27

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_28)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 28

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_29)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 29

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_30)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 30

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_31)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 31

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_32)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 32

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_33)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 33

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_34)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 34

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_35)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 35

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_36)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 36

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_37)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 37

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_38)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 38

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_39)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 39

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_40)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 40

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_41)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 41

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_42)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 42

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_43)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 43

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_44)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 44

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_45)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 45

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_46)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 46

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_47)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 47

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_48)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 48

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_49)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 49

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_50)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 50

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_51)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 51

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_52)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 52

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_53)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 53

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_54)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 54

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_55)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 55

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_56)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 56

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_57)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 57

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_58)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 58

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_59)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 59

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_60)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 60

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_61)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 61

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_62)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 62

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_63)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 63

#if defined(BMC_DEVICE_UI_GLOBAL_BI_LED_64)
#ifdef BMC_MAX_GLOBAL_BI_LEDS
#undef BMC_MAX_GLOBAL_BI_LEDS
#endif
#define BMC_MAX_GLOBAL_BI_LEDS 64

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 0
#if defined(BMC_DEVICE_UI_TRI_LED_1)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 1

#if defined(BMC_DEVICE_UI_TRI_LED_2)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 2

#if defined(BMC_DEVICE_UI_TRI_LED_3)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 3

#if defined(BMC_DEVICE_UI_TRI_LED_4)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 4

#if defined(BMC_DEVICE_UI_TRI_LED_5)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 5

#if defined(BMC_DEVICE_UI_TRI_LED_6)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 6

#if defined(BMC_DEVICE_UI_TRI_LED_7)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 7

#if defined(BMC_DEVICE_UI_TRI_LED_8)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 8

#if defined(BMC_DEVICE_UI_TRI_LED_9)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 9

#if defined(BMC_DEVICE_UI_TRI_LED_10)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 10

#if defined(BMC_DEVICE_UI_TRI_LED_11)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 11

#if defined(BMC_DEVICE_UI_TRI_LED_12)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 12

#if defined(BMC_DEVICE_UI_TRI_LED_13)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 13

#if defined(BMC_DEVICE_UI_TRI_LED_14)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 14

#if defined(BMC_DEVICE_UI_TRI_LED_15)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 15

#if defined(BMC_DEVICE_UI_TRI_LED_16)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 16

#if defined(BMC_DEVICE_UI_TRI_LED_17)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 17

#if defined(BMC_DEVICE_UI_TRI_LED_18)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 18

#if defined(BMC_DEVICE_UI_TRI_LED_19)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 19

#if defined(BMC_DEVICE_UI_TRI_LED_20)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 20

#if defined(BMC_DEVICE_UI_TRI_LED_21)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 21

#if defined(BMC_DEVICE_UI_TRI_LED_22)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 22

#if defined(BMC_DEVICE_UI_TRI_LED_23)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 23

#if defined(BMC_DEVICE_UI_TRI_LED_24)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 24

#if defined(BMC_DEVICE_UI_TRI_LED_25)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 25

#if defined(BMC_DEVICE_UI_TRI_LED_26)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 26

#if defined(BMC_DEVICE_UI_TRI_LED_27)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 27

#if defined(BMC_DEVICE_UI_TRI_LED_28)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 28

#if defined(BMC_DEVICE_UI_TRI_LED_29)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 29

#if defined(BMC_DEVICE_UI_TRI_LED_30)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 30

#if defined(BMC_DEVICE_UI_TRI_LED_31)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 31

#if defined(BMC_DEVICE_UI_TRI_LED_32)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 32

#if defined(BMC_DEVICE_UI_TRI_LED_33)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 33

#if defined(BMC_DEVICE_UI_TRI_LED_34)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 34

#if defined(BMC_DEVICE_UI_TRI_LED_35)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 35

#if defined(BMC_DEVICE_UI_TRI_LED_36)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 36

#if defined(BMC_DEVICE_UI_TRI_LED_37)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 37

#if defined(BMC_DEVICE_UI_TRI_LED_38)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 38

#if defined(BMC_DEVICE_UI_TRI_LED_39)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 39

#if defined(BMC_DEVICE_UI_TRI_LED_40)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 40

#if defined(BMC_DEVICE_UI_TRI_LED_41)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 41

#if defined(BMC_DEVICE_UI_TRI_LED_42)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 42

#if defined(BMC_DEVICE_UI_TRI_LED_43)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 43

#if defined(BMC_DEVICE_UI_TRI_LED_44)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 44

#if defined(BMC_DEVICE_UI_TRI_LED_45)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 45

#if defined(BMC_DEVICE_UI_TRI_LED_46)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 46

#if defined(BMC_DEVICE_UI_TRI_LED_47)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 47

#if defined(BMC_DEVICE_UI_TRI_LED_48)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 48

#if defined(BMC_DEVICE_UI_TRI_LED_49)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 49

#if defined(BMC_DEVICE_UI_TRI_LED_50)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 50

#if defined(BMC_DEVICE_UI_TRI_LED_51)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 51

#if defined(BMC_DEVICE_UI_TRI_LED_52)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 52

#if defined(BMC_DEVICE_UI_TRI_LED_53)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 53

#if defined(BMC_DEVICE_UI_TRI_LED_54)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 54

#if defined(BMC_DEVICE_UI_TRI_LED_55)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 55

#if defined(BMC_DEVICE_UI_TRI_LED_56)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 56

#if defined(BMC_DEVICE_UI_TRI_LED_57)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 57

#if defined(BMC_DEVICE_UI_TRI_LED_58)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 58

#if defined(BMC_DEVICE_UI_TRI_LED_59)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 59

#if defined(BMC_DEVICE_UI_TRI_LED_60)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 60

#if defined(BMC_DEVICE_UI_TRI_LED_61)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 61

#if defined(BMC_DEVICE_UI_TRI_LED_62)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 62

#if defined(BMC_DEVICE_UI_TRI_LED_63)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 63

#if defined(BMC_DEVICE_UI_TRI_LED_64)
#ifdef BMC_MAX_TRI_LEDS
#undef BMC_MAX_TRI_LEDS
#endif
#define BMC_MAX_TRI_LEDS 64

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 0
#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_1)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 1

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_2)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 2

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_3)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 3

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_4)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 4

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_5)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 5

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_6)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 6

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_7)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 7

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_8)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 8

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_9)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 9

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_10)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 10

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_11)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 11

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_12)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 12

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_13)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 13

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_14)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 14

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_15)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 15

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_16)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 16

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_17)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 17

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_18)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 18

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_19)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 19

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_20)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 20

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_21)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 21

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_22)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 22

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_23)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 23

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_24)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 24

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_25)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 25

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_26)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 26

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_27)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 27

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_28)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 28

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_29)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 29

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_30)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 30

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_31)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 31

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_32)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 32

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_33)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 33

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_34)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 34

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_35)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 35

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_36)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 36

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_37)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 37

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_38)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 38

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_39)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 39

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_40)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 40

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_41)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 41

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_42)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 42

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_43)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 43

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_44)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 44

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_45)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 45

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_46)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 46

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_47)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 47

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_48)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 48

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_49)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 49

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_50)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 50

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_51)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 51

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_52)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 52

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_53)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 53

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_54)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 54

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_55)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 55

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_56)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 56

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_57)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 57

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_58)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 58

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_59)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 59

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_60)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 60

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_61)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 61

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_62)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 62

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_63)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 63

#if defined(BMC_DEVICE_UI_GLOBAL_TRI_LED_64)
#ifdef BMC_MAX_GLOBAL_TRI_LEDS
#undef BMC_MAX_GLOBAL_TRI_LEDS
#endif
#define BMC_MAX_GLOBAL_TRI_LEDS 64

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 0
#if defined(BMC_DEVICE_UI_POT_1)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 1

#if defined(BMC_DEVICE_UI_POT_2)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 2

#if defined(BMC_DEVICE_UI_POT_3)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 3

#if defined(BMC_DEVICE_UI_POT_4)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 4

#if defined(BMC_DEVICE_UI_POT_5)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 5

#if defined(BMC_DEVICE_UI_POT_6)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 6

#if defined(BMC_DEVICE_UI_POT_7)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 7

#if defined(BMC_DEVICE_UI_POT_8)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 8

#if defined(BMC_DEVICE_UI_POT_9)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 9

#if defined(BMC_DEVICE_UI_POT_10)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 10

#if defined(BMC_DEVICE_UI_POT_11)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 11

#if defined(BMC_DEVICE_UI_POT_12)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 12

#if defined(BMC_DEVICE_UI_POT_13)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 13

#if defined(BMC_DEVICE_UI_POT_14)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 14

#if defined(BMC_DEVICE_UI_POT_15)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 15

#if defined(BMC_DEVICE_UI_POT_16)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 16

#if defined(BMC_DEVICE_UI_POT_17)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 17

#if defined(BMC_DEVICE_UI_POT_18)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 18

#if defined(BMC_DEVICE_UI_POT_19)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 19

#if defined(BMC_DEVICE_UI_POT_20)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 20

#if defined(BMC_DEVICE_UI_POT_21)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 21

#if defined(BMC_DEVICE_UI_POT_22)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 22

#if defined(BMC_DEVICE_UI_POT_23)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 23

#if defined(BMC_DEVICE_UI_POT_24)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 24

#if defined(BMC_DEVICE_UI_POT_25)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 25

#if defined(BMC_DEVICE_UI_POT_26)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 26

#if defined(BMC_DEVICE_UI_POT_27)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 27

#if defined(BMC_DEVICE_UI_POT_28)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 28

#if defined(BMC_DEVICE_UI_POT_29)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 29

#if defined(BMC_DEVICE_UI_POT_30)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 30

#if defined(BMC_DEVICE_UI_POT_31)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 31

#if defined(BMC_DEVICE_UI_POT_32)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 32

#if defined(BMC_DEVICE_UI_POT_33)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 33

#if defined(BMC_DEVICE_UI_POT_34)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 34

#if defined(BMC_DEVICE_UI_POT_35)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 35

#if defined(BMC_DEVICE_UI_POT_36)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 36

#if defined(BMC_DEVICE_UI_POT_37)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 37

#if defined(BMC_DEVICE_UI_POT_38)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 38

#if defined(BMC_DEVICE_UI_POT_39)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 39

#if defined(BMC_DEVICE_UI_POT_40)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 40

#if defined(BMC_DEVICE_UI_POT_41)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 41

#if defined(BMC_DEVICE_UI_POT_42)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 42

#if defined(BMC_DEVICE_UI_POT_43)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 43

#if defined(BMC_DEVICE_UI_POT_44)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 44

#if defined(BMC_DEVICE_UI_POT_45)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 45

#if defined(BMC_DEVICE_UI_POT_46)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 46

#if defined(BMC_DEVICE_UI_POT_47)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 47

#if defined(BMC_DEVICE_UI_POT_48)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 48

#if defined(BMC_DEVICE_UI_POT_49)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 49

#if defined(BMC_DEVICE_UI_POT_50)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 50

#if defined(BMC_DEVICE_UI_POT_51)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 51

#if defined(BMC_DEVICE_UI_POT_52)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 52

#if defined(BMC_DEVICE_UI_POT_53)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 53

#if defined(BMC_DEVICE_UI_POT_54)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 54

#if defined(BMC_DEVICE_UI_POT_55)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 55

#if defined(BMC_DEVICE_UI_POT_56)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 56

#if defined(BMC_DEVICE_UI_POT_57)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 57

#if defined(BMC_DEVICE_UI_POT_58)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 58

#if defined(BMC_DEVICE_UI_POT_59)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 59

#if defined(BMC_DEVICE_UI_POT_60)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 60

#if defined(BMC_DEVICE_UI_POT_61)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 61

#if defined(BMC_DEVICE_UI_POT_62)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 62

#if defined(BMC_DEVICE_UI_POT_63)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 63

#if defined(BMC_DEVICE_UI_POT_64)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 64

#if defined(BMC_DEVICE_UI_POT_65)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 65

#if defined(BMC_DEVICE_UI_POT_66)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 66

#if defined(BMC_DEVICE_UI_POT_67)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 67

#if defined(BMC_DEVICE_UI_POT_68)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 68

#if defined(BMC_DEVICE_UI_POT_69)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 69

#if defined(BMC_DEVICE_UI_POT_70)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 70

#if defined(BMC_DEVICE_UI_POT_71)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 71

#if defined(BMC_DEVICE_UI_POT_72)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 72

#if defined(BMC_DEVICE_UI_POT_73)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 73

#if defined(BMC_DEVICE_UI_POT_74)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 74

#if defined(BMC_DEVICE_UI_POT_75)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 75

#if defined(BMC_DEVICE_UI_POT_76)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 76

#if defined(BMC_DEVICE_UI_POT_77)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 77

#if defined(BMC_DEVICE_UI_POT_78)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 78

#if defined(BMC_DEVICE_UI_POT_79)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 79

#if defined(BMC_DEVICE_UI_POT_80)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 80

#if defined(BMC_DEVICE_UI_POT_81)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 81

#if defined(BMC_DEVICE_UI_POT_82)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 82

#if defined(BMC_DEVICE_UI_POT_83)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 83

#if defined(BMC_DEVICE_UI_POT_84)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 84

#if defined(BMC_DEVICE_UI_POT_85)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 85

#if defined(BMC_DEVICE_UI_POT_86)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 86

#if defined(BMC_DEVICE_UI_POT_87)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 87

#if defined(BMC_DEVICE_UI_POT_88)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 88

#if defined(BMC_DEVICE_UI_POT_89)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 89

#if defined(BMC_DEVICE_UI_POT_90)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 90

#if defined(BMC_DEVICE_UI_POT_91)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 91

#if defined(BMC_DEVICE_UI_POT_92)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 92

#if defined(BMC_DEVICE_UI_POT_93)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 93

#if defined(BMC_DEVICE_UI_POT_94)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 94

#if defined(BMC_DEVICE_UI_POT_95)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 95

#if defined(BMC_DEVICE_UI_POT_96)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 96

#if defined(BMC_DEVICE_UI_POT_97)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 97

#if defined(BMC_DEVICE_UI_POT_98)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 98

#if defined(BMC_DEVICE_UI_POT_99)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 99

#if defined(BMC_DEVICE_UI_POT_100)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 100

#if defined(BMC_DEVICE_UI_POT_101)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 101

#if defined(BMC_DEVICE_UI_POT_102)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 102

#if defined(BMC_DEVICE_UI_POT_103)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 103

#if defined(BMC_DEVICE_UI_POT_104)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 104

#if defined(BMC_DEVICE_UI_POT_105)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 105

#if defined(BMC_DEVICE_UI_POT_106)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 106

#if defined(BMC_DEVICE_UI_POT_107)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 107

#if defined(BMC_DEVICE_UI_POT_108)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 108

#if defined(BMC_DEVICE_UI_POT_109)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 109

#if defined(BMC_DEVICE_UI_POT_110)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 110

#if defined(BMC_DEVICE_UI_POT_111)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 111

#if defined(BMC_DEVICE_UI_POT_112)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 112

#if defined(BMC_DEVICE_UI_POT_113)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 113

#if defined(BMC_DEVICE_UI_POT_114)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 114

#if defined(BMC_DEVICE_UI_POT_115)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 115

#if defined(BMC_DEVICE_UI_POT_116)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 116

#if defined(BMC_DEVICE_UI_POT_117)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 117

#if defined(BMC_DEVICE_UI_POT_118)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 118

#if defined(BMC_DEVICE_UI_POT_119)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 119

#if defined(BMC_DEVICE_UI_POT_120)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 120

#if defined(BMC_DEVICE_UI_POT_121)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 121

#if defined(BMC_DEVICE_UI_POT_122)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 122

#if defined(BMC_DEVICE_UI_POT_123)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 123

#if defined(BMC_DEVICE_UI_POT_124)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 124

#if defined(BMC_DEVICE_UI_POT_125)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 125

#if defined(BMC_DEVICE_UI_POT_126)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 126

#if defined(BMC_DEVICE_UI_POT_127)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 127

#if defined(BMC_DEVICE_UI_POT_128)
#ifdef BMC_MAX_POTS
#undef BMC_MAX_POTS
#endif
#define BMC_MAX_POTS 128

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 0
#if defined(BMC_DEVICE_UI_GLOBAL_POT_1)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 1

#if defined(BMC_DEVICE_UI_GLOBAL_POT_2)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 2

#if defined(BMC_DEVICE_UI_GLOBAL_POT_3)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 3

#if defined(BMC_DEVICE_UI_GLOBAL_POT_4)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 4

#if defined(BMC_DEVICE_UI_GLOBAL_POT_5)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 5

#if defined(BMC_DEVICE_UI_GLOBAL_POT_6)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 6

#if defined(BMC_DEVICE_UI_GLOBAL_POT_7)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 7

#if defined(BMC_DEVICE_UI_GLOBAL_POT_8)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 8

#if defined(BMC_DEVICE_UI_GLOBAL_POT_9)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 9

#if defined(BMC_DEVICE_UI_GLOBAL_POT_10)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 10

#if defined(BMC_DEVICE_UI_GLOBAL_POT_11)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 11

#if defined(BMC_DEVICE_UI_GLOBAL_POT_12)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 12

#if defined(BMC_DEVICE_UI_GLOBAL_POT_13)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 13

#if defined(BMC_DEVICE_UI_GLOBAL_POT_14)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 14

#if defined(BMC_DEVICE_UI_GLOBAL_POT_15)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 15

#if defined(BMC_DEVICE_UI_GLOBAL_POT_16)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 16

#if defined(BMC_DEVICE_UI_GLOBAL_POT_17)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 17

#if defined(BMC_DEVICE_UI_GLOBAL_POT_18)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 18

#if defined(BMC_DEVICE_UI_GLOBAL_POT_19)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 19

#if defined(BMC_DEVICE_UI_GLOBAL_POT_20)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 20

#if defined(BMC_DEVICE_UI_GLOBAL_POT_21)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 21

#if defined(BMC_DEVICE_UI_GLOBAL_POT_22)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 22

#if defined(BMC_DEVICE_UI_GLOBAL_POT_23)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 23

#if defined(BMC_DEVICE_UI_GLOBAL_POT_24)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 24

#if defined(BMC_DEVICE_UI_GLOBAL_POT_25)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 25

#if defined(BMC_DEVICE_UI_GLOBAL_POT_26)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 26

#if defined(BMC_DEVICE_UI_GLOBAL_POT_27)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 27

#if defined(BMC_DEVICE_UI_GLOBAL_POT_28)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 28

#if defined(BMC_DEVICE_UI_GLOBAL_POT_29)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 29

#if defined(BMC_DEVICE_UI_GLOBAL_POT_30)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 30

#if defined(BMC_DEVICE_UI_GLOBAL_POT_31)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 31

#if defined(BMC_DEVICE_UI_GLOBAL_POT_32)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 32

#if defined(BMC_DEVICE_UI_GLOBAL_POT_33)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 33

#if defined(BMC_DEVICE_UI_GLOBAL_POT_34)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 34

#if defined(BMC_DEVICE_UI_GLOBAL_POT_35)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 35

#if defined(BMC_DEVICE_UI_GLOBAL_POT_36)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 36

#if defined(BMC_DEVICE_UI_GLOBAL_POT_37)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 37

#if defined(BMC_DEVICE_UI_GLOBAL_POT_38)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 38

#if defined(BMC_DEVICE_UI_GLOBAL_POT_39)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 39

#if defined(BMC_DEVICE_UI_GLOBAL_POT_40)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 40

#if defined(BMC_DEVICE_UI_GLOBAL_POT_41)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 41

#if defined(BMC_DEVICE_UI_GLOBAL_POT_42)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 42

#if defined(BMC_DEVICE_UI_GLOBAL_POT_43)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 43

#if defined(BMC_DEVICE_UI_GLOBAL_POT_44)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 44

#if defined(BMC_DEVICE_UI_GLOBAL_POT_45)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 45

#if defined(BMC_DEVICE_UI_GLOBAL_POT_46)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 46

#if defined(BMC_DEVICE_UI_GLOBAL_POT_47)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 47

#if defined(BMC_DEVICE_UI_GLOBAL_POT_48)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 48

#if defined(BMC_DEVICE_UI_GLOBAL_POT_49)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 49

#if defined(BMC_DEVICE_UI_GLOBAL_POT_50)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 50

#if defined(BMC_DEVICE_UI_GLOBAL_POT_51)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 51

#if defined(BMC_DEVICE_UI_GLOBAL_POT_52)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 52

#if defined(BMC_DEVICE_UI_GLOBAL_POT_53)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 53

#if defined(BMC_DEVICE_UI_GLOBAL_POT_54)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 54

#if defined(BMC_DEVICE_UI_GLOBAL_POT_55)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 55

#if defined(BMC_DEVICE_UI_GLOBAL_POT_56)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 56

#if defined(BMC_DEVICE_UI_GLOBAL_POT_57)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 57

#if defined(BMC_DEVICE_UI_GLOBAL_POT_58)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 58

#if defined(BMC_DEVICE_UI_GLOBAL_POT_59)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 59

#if defined(BMC_DEVICE_UI_GLOBAL_POT_60)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 60

#if defined(BMC_DEVICE_UI_GLOBAL_POT_61)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 61

#if defined(BMC_DEVICE_UI_GLOBAL_POT_62)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 62

#if defined(BMC_DEVICE_UI_GLOBAL_POT_63)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 63

#if defined(BMC_DEVICE_UI_GLOBAL_POT_64)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 64

#if defined(BMC_DEVICE_UI_GLOBAL_POT_65)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 65

#if defined(BMC_DEVICE_UI_GLOBAL_POT_66)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 66

#if defined(BMC_DEVICE_UI_GLOBAL_POT_67)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 67

#if defined(BMC_DEVICE_UI_GLOBAL_POT_68)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 68

#if defined(BMC_DEVICE_UI_GLOBAL_POT_69)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 69

#if defined(BMC_DEVICE_UI_GLOBAL_POT_70)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 70

#if defined(BMC_DEVICE_UI_GLOBAL_POT_71)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 71

#if defined(BMC_DEVICE_UI_GLOBAL_POT_72)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 72

#if defined(BMC_DEVICE_UI_GLOBAL_POT_73)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 73

#if defined(BMC_DEVICE_UI_GLOBAL_POT_74)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 74

#if defined(BMC_DEVICE_UI_GLOBAL_POT_75)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 75

#if defined(BMC_DEVICE_UI_GLOBAL_POT_76)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 76

#if defined(BMC_DEVICE_UI_GLOBAL_POT_77)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 77

#if defined(BMC_DEVICE_UI_GLOBAL_POT_78)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 78

#if defined(BMC_DEVICE_UI_GLOBAL_POT_79)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 79

#if defined(BMC_DEVICE_UI_GLOBAL_POT_80)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 80

#if defined(BMC_DEVICE_UI_GLOBAL_POT_81)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 81

#if defined(BMC_DEVICE_UI_GLOBAL_POT_82)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 82

#if defined(BMC_DEVICE_UI_GLOBAL_POT_83)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 83

#if defined(BMC_DEVICE_UI_GLOBAL_POT_84)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 84

#if defined(BMC_DEVICE_UI_GLOBAL_POT_85)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 85

#if defined(BMC_DEVICE_UI_GLOBAL_POT_86)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 86

#if defined(BMC_DEVICE_UI_GLOBAL_POT_87)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 87

#if defined(BMC_DEVICE_UI_GLOBAL_POT_88)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 88

#if defined(BMC_DEVICE_UI_GLOBAL_POT_89)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 89

#if defined(BMC_DEVICE_UI_GLOBAL_POT_90)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 90

#if defined(BMC_DEVICE_UI_GLOBAL_POT_91)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 91

#if defined(BMC_DEVICE_UI_GLOBAL_POT_92)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 92

#if defined(BMC_DEVICE_UI_GLOBAL_POT_93)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 93

#if defined(BMC_DEVICE_UI_GLOBAL_POT_94)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 94

#if defined(BMC_DEVICE_UI_GLOBAL_POT_95)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 95

#if defined(BMC_DEVICE_UI_GLOBAL_POT_96)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 96

#if defined(BMC_DEVICE_UI_GLOBAL_POT_97)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 97

#if defined(BMC_DEVICE_UI_GLOBAL_POT_98)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 98

#if defined(BMC_DEVICE_UI_GLOBAL_POT_99)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 99

#if defined(BMC_DEVICE_UI_GLOBAL_POT_100)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 100

#if defined(BMC_DEVICE_UI_GLOBAL_POT_101)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 101

#if defined(BMC_DEVICE_UI_GLOBAL_POT_102)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 102

#if defined(BMC_DEVICE_UI_GLOBAL_POT_103)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 103

#if defined(BMC_DEVICE_UI_GLOBAL_POT_104)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 104

#if defined(BMC_DEVICE_UI_GLOBAL_POT_105)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 105

#if defined(BMC_DEVICE_UI_GLOBAL_POT_106)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 106

#if defined(BMC_DEVICE_UI_GLOBAL_POT_107)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 107

#if defined(BMC_DEVICE_UI_GLOBAL_POT_108)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 108

#if defined(BMC_DEVICE_UI_GLOBAL_POT_109)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 109

#if defined(BMC_DEVICE_UI_GLOBAL_POT_110)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 110

#if defined(BMC_DEVICE_UI_GLOBAL_POT_111)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 111

#if defined(BMC_DEVICE_UI_GLOBAL_POT_112)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 112

#if defined(BMC_DEVICE_UI_GLOBAL_POT_113)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 113

#if defined(BMC_DEVICE_UI_GLOBAL_POT_114)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 114

#if defined(BMC_DEVICE_UI_GLOBAL_POT_115)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 115

#if defined(BMC_DEVICE_UI_GLOBAL_POT_116)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 116

#if defined(BMC_DEVICE_UI_GLOBAL_POT_117)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 117

#if defined(BMC_DEVICE_UI_GLOBAL_POT_118)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 118

#if defined(BMC_DEVICE_UI_GLOBAL_POT_119)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 119

#if defined(BMC_DEVICE_UI_GLOBAL_POT_120)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 120

#if defined(BMC_DEVICE_UI_GLOBAL_POT_121)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 121

#if defined(BMC_DEVICE_UI_GLOBAL_POT_122)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 122

#if defined(BMC_DEVICE_UI_GLOBAL_POT_123)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 123

#if defined(BMC_DEVICE_UI_GLOBAL_POT_124)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 124

#if defined(BMC_DEVICE_UI_GLOBAL_POT_125)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 125

#if defined(BMC_DEVICE_UI_GLOBAL_POT_126)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 126

#if defined(BMC_DEVICE_UI_GLOBAL_POT_127)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 127

#if defined(BMC_DEVICE_UI_GLOBAL_POT_128)
#ifdef BMC_MAX_GLOBAL_POTS
#undef BMC_MAX_GLOBAL_POTS
#endif
#define BMC_MAX_GLOBAL_POTS 128

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 0
#if defined(BMC_DEVICE_UI_ENCODER_1)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 1

#if defined(BMC_DEVICE_UI_ENCODER_2)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 2

#if defined(BMC_DEVICE_UI_ENCODER_3)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 3

#if defined(BMC_DEVICE_UI_ENCODER_4)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 4

#if defined(BMC_DEVICE_UI_ENCODER_5)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 5

#if defined(BMC_DEVICE_UI_ENCODER_6)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 6

#if defined(BMC_DEVICE_UI_ENCODER_7)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 7

#if defined(BMC_DEVICE_UI_ENCODER_8)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 8

#if defined(BMC_DEVICE_UI_ENCODER_9)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 9

#if defined(BMC_DEVICE_UI_ENCODER_10)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 10

#if defined(BMC_DEVICE_UI_ENCODER_11)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 11

#if defined(BMC_DEVICE_UI_ENCODER_12)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 12

#if defined(BMC_DEVICE_UI_ENCODER_13)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 13

#if defined(BMC_DEVICE_UI_ENCODER_14)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 14

#if defined(BMC_DEVICE_UI_ENCODER_15)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 15

#if defined(BMC_DEVICE_UI_ENCODER_16)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 16

#if defined(BMC_DEVICE_UI_ENCODER_17)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 17

#if defined(BMC_DEVICE_UI_ENCODER_18)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 18

#if defined(BMC_DEVICE_UI_ENCODER_19)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 19

#if defined(BMC_DEVICE_UI_ENCODER_20)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 20

#if defined(BMC_DEVICE_UI_ENCODER_21)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 21

#if defined(BMC_DEVICE_UI_ENCODER_22)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 22

#if defined(BMC_DEVICE_UI_ENCODER_23)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 23

#if defined(BMC_DEVICE_UI_ENCODER_24)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 24

#if defined(BMC_DEVICE_UI_ENCODER_25)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 25

#if defined(BMC_DEVICE_UI_ENCODER_26)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 26

#if defined(BMC_DEVICE_UI_ENCODER_27)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 27

#if defined(BMC_DEVICE_UI_ENCODER_28)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 28

#if defined(BMC_DEVICE_UI_ENCODER_29)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 29

#if defined(BMC_DEVICE_UI_ENCODER_30)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 30

#if defined(BMC_DEVICE_UI_ENCODER_31)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 31

#if defined(BMC_DEVICE_UI_ENCODER_32)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 32

#if defined(BMC_DEVICE_UI_ENCODER_33)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 33

#if defined(BMC_DEVICE_UI_ENCODER_34)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 34

#if defined(BMC_DEVICE_UI_ENCODER_35)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 35

#if defined(BMC_DEVICE_UI_ENCODER_36)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 36

#if defined(BMC_DEVICE_UI_ENCODER_37)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 37

#if defined(BMC_DEVICE_UI_ENCODER_38)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 38

#if defined(BMC_DEVICE_UI_ENCODER_39)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 39

#if defined(BMC_DEVICE_UI_ENCODER_40)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 40

#if defined(BMC_DEVICE_UI_ENCODER_41)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 41

#if defined(BMC_DEVICE_UI_ENCODER_42)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 42

#if defined(BMC_DEVICE_UI_ENCODER_43)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 43

#if defined(BMC_DEVICE_UI_ENCODER_44)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 44

#if defined(BMC_DEVICE_UI_ENCODER_45)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 45

#if defined(BMC_DEVICE_UI_ENCODER_46)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 46

#if defined(BMC_DEVICE_UI_ENCODER_47)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 47

#if defined(BMC_DEVICE_UI_ENCODER_48)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 48

#if defined(BMC_DEVICE_UI_ENCODER_49)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 49

#if defined(BMC_DEVICE_UI_ENCODER_50)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 50

#if defined(BMC_DEVICE_UI_ENCODER_51)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 51

#if defined(BMC_DEVICE_UI_ENCODER_52)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 52

#if defined(BMC_DEVICE_UI_ENCODER_53)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 53

#if defined(BMC_DEVICE_UI_ENCODER_54)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 54

#if defined(BMC_DEVICE_UI_ENCODER_55)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 55

#if defined(BMC_DEVICE_UI_ENCODER_56)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 56

#if defined(BMC_DEVICE_UI_ENCODER_57)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 57

#if defined(BMC_DEVICE_UI_ENCODER_58)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 58

#if defined(BMC_DEVICE_UI_ENCODER_59)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 59

#if defined(BMC_DEVICE_UI_ENCODER_60)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 60

#if defined(BMC_DEVICE_UI_ENCODER_61)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 61

#if defined(BMC_DEVICE_UI_ENCODER_62)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 62

#if defined(BMC_DEVICE_UI_ENCODER_63)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 63

#if defined(BMC_DEVICE_UI_ENCODER_64)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 64

#if defined(BMC_DEVICE_UI_ENCODER_65)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 65

#if defined(BMC_DEVICE_UI_ENCODER_66)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 66

#if defined(BMC_DEVICE_UI_ENCODER_67)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 67

#if defined(BMC_DEVICE_UI_ENCODER_68)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 68

#if defined(BMC_DEVICE_UI_ENCODER_69)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 69

#if defined(BMC_DEVICE_UI_ENCODER_70)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 70

#if defined(BMC_DEVICE_UI_ENCODER_71)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 71

#if defined(BMC_DEVICE_UI_ENCODER_72)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 72

#if defined(BMC_DEVICE_UI_ENCODER_73)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 73

#if defined(BMC_DEVICE_UI_ENCODER_74)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 74

#if defined(BMC_DEVICE_UI_ENCODER_75)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 75

#if defined(BMC_DEVICE_UI_ENCODER_76)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 76

#if defined(BMC_DEVICE_UI_ENCODER_77)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 77

#if defined(BMC_DEVICE_UI_ENCODER_78)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 78

#if defined(BMC_DEVICE_UI_ENCODER_79)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 79

#if defined(BMC_DEVICE_UI_ENCODER_80)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 80

#if defined(BMC_DEVICE_UI_ENCODER_81)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 81

#if defined(BMC_DEVICE_UI_ENCODER_82)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 82

#if defined(BMC_DEVICE_UI_ENCODER_83)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 83

#if defined(BMC_DEVICE_UI_ENCODER_84)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 84

#if defined(BMC_DEVICE_UI_ENCODER_85)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 85

#if defined(BMC_DEVICE_UI_ENCODER_86)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 86

#if defined(BMC_DEVICE_UI_ENCODER_87)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 87

#if defined(BMC_DEVICE_UI_ENCODER_88)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 88

#if defined(BMC_DEVICE_UI_ENCODER_89)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 89

#if defined(BMC_DEVICE_UI_ENCODER_90)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 90

#if defined(BMC_DEVICE_UI_ENCODER_91)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 91

#if defined(BMC_DEVICE_UI_ENCODER_92)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 92

#if defined(BMC_DEVICE_UI_ENCODER_93)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 93

#if defined(BMC_DEVICE_UI_ENCODER_94)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 94

#if defined(BMC_DEVICE_UI_ENCODER_95)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 95

#if defined(BMC_DEVICE_UI_ENCODER_96)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 96

#if defined(BMC_DEVICE_UI_ENCODER_97)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 97

#if defined(BMC_DEVICE_UI_ENCODER_98)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 98

#if defined(BMC_DEVICE_UI_ENCODER_99)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 99

#if defined(BMC_DEVICE_UI_ENCODER_100)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 100

#if defined(BMC_DEVICE_UI_ENCODER_101)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 101

#if defined(BMC_DEVICE_UI_ENCODER_102)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 102

#if defined(BMC_DEVICE_UI_ENCODER_103)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 103

#if defined(BMC_DEVICE_UI_ENCODER_104)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 104

#if defined(BMC_DEVICE_UI_ENCODER_105)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 105

#if defined(BMC_DEVICE_UI_ENCODER_106)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 106

#if defined(BMC_DEVICE_UI_ENCODER_107)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 107

#if defined(BMC_DEVICE_UI_ENCODER_108)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 108

#if defined(BMC_DEVICE_UI_ENCODER_109)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 109

#if defined(BMC_DEVICE_UI_ENCODER_110)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 110

#if defined(BMC_DEVICE_UI_ENCODER_111)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 111

#if defined(BMC_DEVICE_UI_ENCODER_112)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 112

#if defined(BMC_DEVICE_UI_ENCODER_113)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 113

#if defined(BMC_DEVICE_UI_ENCODER_114)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 114

#if defined(BMC_DEVICE_UI_ENCODER_115)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 115

#if defined(BMC_DEVICE_UI_ENCODER_116)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 116

#if defined(BMC_DEVICE_UI_ENCODER_117)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 117

#if defined(BMC_DEVICE_UI_ENCODER_118)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 118

#if defined(BMC_DEVICE_UI_ENCODER_119)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 119

#if defined(BMC_DEVICE_UI_ENCODER_120)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 120

#if defined(BMC_DEVICE_UI_ENCODER_121)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 121

#if defined(BMC_DEVICE_UI_ENCODER_122)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 122

#if defined(BMC_DEVICE_UI_ENCODER_123)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 123

#if defined(BMC_DEVICE_UI_ENCODER_124)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 124

#if defined(BMC_DEVICE_UI_ENCODER_125)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 125

#if defined(BMC_DEVICE_UI_ENCODER_126)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 126

#if defined(BMC_DEVICE_UI_ENCODER_127)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 127

#if defined(BMC_DEVICE_UI_ENCODER_128)
#ifdef BMC_MAX_ENCODERS
#undef BMC_MAX_ENCODERS
#endif
#define BMC_MAX_ENCODERS 128

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 0
#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_1)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 1

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_2)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 2

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_3)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 3

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_4)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 4

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_5)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 5

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_6)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 6

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_7)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 7

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_8)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 8

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_9)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 9

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_10)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 10

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_11)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 11

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_12)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 12

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_13)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 13

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_14)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 14

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_15)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 15

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_16)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 16

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_17)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 17

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_18)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 18

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_19)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 19

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_20)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 20

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_21)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 21

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_22)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 22

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_23)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 23

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_24)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 24

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_25)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 25

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_26)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 26

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_27)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 27

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_28)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 28

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_29)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 29

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_30)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 30

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_31)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 31

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_32)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 32

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_33)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 33

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_34)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 34

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_35)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 35

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_36)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 36

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_37)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 37

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_38)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 38

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_39)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 39

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_40)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 40

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_41)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 41

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_42)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 42

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_43)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 43

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_44)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 44

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_45)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 45

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_46)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 46

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_47)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 47

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_48)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 48

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_49)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 49

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_50)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 50

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_51)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 51

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_52)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 52

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_53)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 53

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_54)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 54

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_55)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 55

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_56)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 56

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_57)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 57

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_58)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 58

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_59)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 59

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_60)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 60

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_61)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 61

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_62)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 62

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_63)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 63

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_64)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 64

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_65)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 65

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_66)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 66

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_67)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 67

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_68)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 68

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_69)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 69

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_70)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 70

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_71)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 71

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_72)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 72

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_73)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 73

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_74)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 74

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_75)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 75

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_76)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 76

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_77)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 77

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_78)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 78

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_79)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 79

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_80)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 80

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_81)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 81

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_82)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 82

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_83)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 83

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_84)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 84

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_85)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 85

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_86)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 86

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_87)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 87

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_88)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 88

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_89)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 89

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_90)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 90

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_91)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 91

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_92)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 92

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_93)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 93

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_94)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 94

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_95)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 95

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_96)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 96

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_97)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 97

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_98)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 98

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_99)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 99

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_100)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 100

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_101)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 101

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_102)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 102

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_103)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 103

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_104)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 104

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_105)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 105

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_106)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 106

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_107)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 107

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_108)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 108

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_109)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 109

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_110)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 110

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_111)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 111

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_112)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 112

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_113)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 113

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_114)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 114

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_115)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 115

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_116)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 116

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_117)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 117

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_118)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 118

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_119)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 119

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_120)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 120

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_121)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 121

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_122)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 122

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_123)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 123

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_124)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 124

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_125)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 125

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_126)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 126

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_127)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 127

#if defined(BMC_DEVICE_UI_GLOBAL_ENCODER_128)
#ifdef BMC_MAX_GLOBAL_ENCODERS
#undef BMC_MAX_GLOBAL_ENCODERS
#endif
#define BMC_MAX_GLOBAL_ENCODERS 128

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 0
#if defined(BMC_DEVICE_UI_PIXEL_1)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 1

#if defined(BMC_DEVICE_UI_PIXEL_2)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 2

#if defined(BMC_DEVICE_UI_PIXEL_3)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 3

#if defined(BMC_DEVICE_UI_PIXEL_4)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 4

#if defined(BMC_DEVICE_UI_PIXEL_5)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 5

#if defined(BMC_DEVICE_UI_PIXEL_6)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 6

#if defined(BMC_DEVICE_UI_PIXEL_7)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 7

#if defined(BMC_DEVICE_UI_PIXEL_8)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 8

#if defined(BMC_DEVICE_UI_PIXEL_9)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 9

#if defined(BMC_DEVICE_UI_PIXEL_10)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 10

#if defined(BMC_DEVICE_UI_PIXEL_11)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 11

#if defined(BMC_DEVICE_UI_PIXEL_12)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 12

#if defined(BMC_DEVICE_UI_PIXEL_13)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 13

#if defined(BMC_DEVICE_UI_PIXEL_14)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 14

#if defined(BMC_DEVICE_UI_PIXEL_15)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 15

#if defined(BMC_DEVICE_UI_PIXEL_16)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 16

#if defined(BMC_DEVICE_UI_PIXEL_17)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 17

#if defined(BMC_DEVICE_UI_PIXEL_18)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 18

#if defined(BMC_DEVICE_UI_PIXEL_19)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 19

#if defined(BMC_DEVICE_UI_PIXEL_20)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 20

#if defined(BMC_DEVICE_UI_PIXEL_21)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 21

#if defined(BMC_DEVICE_UI_PIXEL_22)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 22

#if defined(BMC_DEVICE_UI_PIXEL_23)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 23

#if defined(BMC_DEVICE_UI_PIXEL_24)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 24

#if defined(BMC_DEVICE_UI_PIXEL_25)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 25

#if defined(BMC_DEVICE_UI_PIXEL_26)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 26

#if defined(BMC_DEVICE_UI_PIXEL_27)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 27

#if defined(BMC_DEVICE_UI_PIXEL_28)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 28

#if defined(BMC_DEVICE_UI_PIXEL_29)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 29

#if defined(BMC_DEVICE_UI_PIXEL_30)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 30

#if defined(BMC_DEVICE_UI_PIXEL_31)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 31

#if defined(BMC_DEVICE_UI_PIXEL_32)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 32

#if defined(BMC_DEVICE_UI_PIXEL_33)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 33

#if defined(BMC_DEVICE_UI_PIXEL_34)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 34

#if defined(BMC_DEVICE_UI_PIXEL_35)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 35

#if defined(BMC_DEVICE_UI_PIXEL_36)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 36

#if defined(BMC_DEVICE_UI_PIXEL_37)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 37

#if defined(BMC_DEVICE_UI_PIXEL_38)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 38

#if defined(BMC_DEVICE_UI_PIXEL_39)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 39

#if defined(BMC_DEVICE_UI_PIXEL_40)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 40

#if defined(BMC_DEVICE_UI_PIXEL_41)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 41

#if defined(BMC_DEVICE_UI_PIXEL_42)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 42

#if defined(BMC_DEVICE_UI_PIXEL_43)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 43

#if defined(BMC_DEVICE_UI_PIXEL_44)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 44

#if defined(BMC_DEVICE_UI_PIXEL_45)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 45

#if defined(BMC_DEVICE_UI_PIXEL_46)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 46

#if defined(BMC_DEVICE_UI_PIXEL_47)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 47

#if defined(BMC_DEVICE_UI_PIXEL_48)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 48

#if defined(BMC_DEVICE_UI_PIXEL_49)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 49

#if defined(BMC_DEVICE_UI_PIXEL_50)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 50

#if defined(BMC_DEVICE_UI_PIXEL_51)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 51

#if defined(BMC_DEVICE_UI_PIXEL_52)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 52

#if defined(BMC_DEVICE_UI_PIXEL_53)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 53

#if defined(BMC_DEVICE_UI_PIXEL_54)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 54

#if defined(BMC_DEVICE_UI_PIXEL_55)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 55

#if defined(BMC_DEVICE_UI_PIXEL_56)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 56

#if defined(BMC_DEVICE_UI_PIXEL_57)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 57

#if defined(BMC_DEVICE_UI_PIXEL_58)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 58

#if defined(BMC_DEVICE_UI_PIXEL_59)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 59

#if defined(BMC_DEVICE_UI_PIXEL_60)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 60

#if defined(BMC_DEVICE_UI_PIXEL_61)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 61

#if defined(BMC_DEVICE_UI_PIXEL_62)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 62

#if defined(BMC_DEVICE_UI_PIXEL_63)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 63

#if defined(BMC_DEVICE_UI_PIXEL_64)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 64

#if defined(BMC_DEVICE_UI_PIXEL_65)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 65

#if defined(BMC_DEVICE_UI_PIXEL_66)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 66

#if defined(BMC_DEVICE_UI_PIXEL_67)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 67

#if defined(BMC_DEVICE_UI_PIXEL_68)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 68

#if defined(BMC_DEVICE_UI_PIXEL_69)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 69

#if defined(BMC_DEVICE_UI_PIXEL_70)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 70

#if defined(BMC_DEVICE_UI_PIXEL_71)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 71

#if defined(BMC_DEVICE_UI_PIXEL_72)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 72

#if defined(BMC_DEVICE_UI_PIXEL_73)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 73

#if defined(BMC_DEVICE_UI_PIXEL_74)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 74

#if defined(BMC_DEVICE_UI_PIXEL_75)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 75

#if defined(BMC_DEVICE_UI_PIXEL_76)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 76

#if defined(BMC_DEVICE_UI_PIXEL_77)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 77

#if defined(BMC_DEVICE_UI_PIXEL_78)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 78

#if defined(BMC_DEVICE_UI_PIXEL_79)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 79

#if defined(BMC_DEVICE_UI_PIXEL_80)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 80

#if defined(BMC_DEVICE_UI_PIXEL_81)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 81

#if defined(BMC_DEVICE_UI_PIXEL_82)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 82

#if defined(BMC_DEVICE_UI_PIXEL_83)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 83

#if defined(BMC_DEVICE_UI_PIXEL_84)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 84

#if defined(BMC_DEVICE_UI_PIXEL_85)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 85

#if defined(BMC_DEVICE_UI_PIXEL_86)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 86

#if defined(BMC_DEVICE_UI_PIXEL_87)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 87

#if defined(BMC_DEVICE_UI_PIXEL_88)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 88

#if defined(BMC_DEVICE_UI_PIXEL_89)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 89

#if defined(BMC_DEVICE_UI_PIXEL_90)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 90

#if defined(BMC_DEVICE_UI_PIXEL_91)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 91

#if defined(BMC_DEVICE_UI_PIXEL_92)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 92

#if defined(BMC_DEVICE_UI_PIXEL_93)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 93

#if defined(BMC_DEVICE_UI_PIXEL_94)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 94

#if defined(BMC_DEVICE_UI_PIXEL_95)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 95

#if defined(BMC_DEVICE_UI_PIXEL_96)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 96

#if defined(BMC_DEVICE_UI_PIXEL_97)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 97

#if defined(BMC_DEVICE_UI_PIXEL_98)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 98

#if defined(BMC_DEVICE_UI_PIXEL_99)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 99

#if defined(BMC_DEVICE_UI_PIXEL_100)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 100

#if defined(BMC_DEVICE_UI_PIXEL_101)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 101

#if defined(BMC_DEVICE_UI_PIXEL_102)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 102

#if defined(BMC_DEVICE_UI_PIXEL_103)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 103

#if defined(BMC_DEVICE_UI_PIXEL_104)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 104

#if defined(BMC_DEVICE_UI_PIXEL_105)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 105

#if defined(BMC_DEVICE_UI_PIXEL_106)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 106

#if defined(BMC_DEVICE_UI_PIXEL_107)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 107

#if defined(BMC_DEVICE_UI_PIXEL_108)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 108

#if defined(BMC_DEVICE_UI_PIXEL_109)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 109

#if defined(BMC_DEVICE_UI_PIXEL_110)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 110

#if defined(BMC_DEVICE_UI_PIXEL_111)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 111

#if defined(BMC_DEVICE_UI_PIXEL_112)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 112

#if defined(BMC_DEVICE_UI_PIXEL_113)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 113

#if defined(BMC_DEVICE_UI_PIXEL_114)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 114

#if defined(BMC_DEVICE_UI_PIXEL_115)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 115

#if defined(BMC_DEVICE_UI_PIXEL_116)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 116

#if defined(BMC_DEVICE_UI_PIXEL_117)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 117

#if defined(BMC_DEVICE_UI_PIXEL_118)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 118

#if defined(BMC_DEVICE_UI_PIXEL_119)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 119

#if defined(BMC_DEVICE_UI_PIXEL_120)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 120

#if defined(BMC_DEVICE_UI_PIXEL_121)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 121

#if defined(BMC_DEVICE_UI_PIXEL_122)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 122

#if defined(BMC_DEVICE_UI_PIXEL_123)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 123

#if defined(BMC_DEVICE_UI_PIXEL_124)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 124

#if defined(BMC_DEVICE_UI_PIXEL_125)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 125

#if defined(BMC_DEVICE_UI_PIXEL_126)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 126

#if defined(BMC_DEVICE_UI_PIXEL_127)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 127

#if defined(BMC_DEVICE_UI_PIXEL_128)
#ifdef BMC_MAX_PIXELS
#undef BMC_MAX_PIXELS
#endif
#define BMC_MAX_PIXELS 128

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 0
#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_1)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 1

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_2)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 2

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_3)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 3

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_4)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 4

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_5)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 5

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_6)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 6

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_7)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 7

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_8)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 8

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_9)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 9

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_10)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 10

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_11)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 11

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_12)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 12

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_13)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 13

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_14)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 14

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_15)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 15

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_16)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 16

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_17)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 17

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_18)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 18

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_19)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 19

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_20)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 20

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_21)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 21

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_22)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 22

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_23)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 23

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_24)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 24

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_25)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 25

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_26)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 26

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_27)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 27

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_28)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 28

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_29)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 29

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_30)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 30

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_31)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 31

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_32)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 32

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_33)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 33

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_34)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 34

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_35)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 35

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_36)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 36

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_37)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 37

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_38)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 38

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_39)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 39

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_40)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 40

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_41)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 41

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_42)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 42

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_43)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 43

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_44)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 44

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_45)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 45

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_46)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 46

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_47)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 47

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_48)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 48

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_49)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 49

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_50)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 50

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_51)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 51

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_52)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 52

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_53)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 53

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_54)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 54

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_55)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 55

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_56)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 56

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_57)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 57

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_58)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 58

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_59)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 59

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_60)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 60

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_61)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 61

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_62)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 62

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_63)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 63

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_64)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 64

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_65)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 65

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_66)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 66

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_67)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 67

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_68)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 68

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_69)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 69

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_70)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 70

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_71)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 71

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_72)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 72

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_73)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 73

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_74)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 74

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_75)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 75

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_76)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 76

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_77)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 77

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_78)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 78

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_79)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 79

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_80)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 80

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_81)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 81

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_82)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 82

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_83)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 83

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_84)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 84

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_85)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 85

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_86)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 86

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_87)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 87

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_88)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 88

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_89)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 89

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_90)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 90

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_91)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 91

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_92)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 92

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_93)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 93

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_94)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 94

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_95)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 95

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_96)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 96

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_97)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 97

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_98)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 98

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_99)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 99

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_100)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 100

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_101)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 101

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_102)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 102

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_103)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 103

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_104)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 104

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_105)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 105

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_106)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 106

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_107)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 107

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_108)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 108

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_109)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 109

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_110)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 110

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_111)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 111

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_112)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 112

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_113)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 113

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_114)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 114

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_115)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 115

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_116)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 116

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_117)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 117

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_118)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 118

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_119)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 119

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_120)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 120

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_121)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 121

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_122)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 122

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_123)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 123

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_124)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 124

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_125)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 125

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_126)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 126

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_127)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 127

#if defined(BMC_DEVICE_UI_GLOBAL_PIXEL_128)
#ifdef BMC_MAX_GLOBAL_PIXELS
#undef BMC_MAX_GLOBAL_PIXELS
#endif
#define BMC_MAX_GLOBAL_PIXELS 128

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 0
#if defined(BMC_DEVICE_UI_RGB_PIXEL_1)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 1

#if defined(BMC_DEVICE_UI_RGB_PIXEL_2)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 2

#if defined(BMC_DEVICE_UI_RGB_PIXEL_3)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 3

#if defined(BMC_DEVICE_UI_RGB_PIXEL_4)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 4

#if defined(BMC_DEVICE_UI_RGB_PIXEL_5)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 5

#if defined(BMC_DEVICE_UI_RGB_PIXEL_6)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 6

#if defined(BMC_DEVICE_UI_RGB_PIXEL_7)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 7

#if defined(BMC_DEVICE_UI_RGB_PIXEL_8)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 8

#if defined(BMC_DEVICE_UI_RGB_PIXEL_9)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 9

#if defined(BMC_DEVICE_UI_RGB_PIXEL_10)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 10

#if defined(BMC_DEVICE_UI_RGB_PIXEL_11)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 11

#if defined(BMC_DEVICE_UI_RGB_PIXEL_12)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 12

#if defined(BMC_DEVICE_UI_RGB_PIXEL_13)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 13

#if defined(BMC_DEVICE_UI_RGB_PIXEL_14)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 14

#if defined(BMC_DEVICE_UI_RGB_PIXEL_15)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 15

#if defined(BMC_DEVICE_UI_RGB_PIXEL_16)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 16

#if defined(BMC_DEVICE_UI_RGB_PIXEL_17)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 17

#if defined(BMC_DEVICE_UI_RGB_PIXEL_18)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 18

#if defined(BMC_DEVICE_UI_RGB_PIXEL_19)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 19

#if defined(BMC_DEVICE_UI_RGB_PIXEL_20)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 20

#if defined(BMC_DEVICE_UI_RGB_PIXEL_21)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 21

#if defined(BMC_DEVICE_UI_RGB_PIXEL_22)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 22

#if defined(BMC_DEVICE_UI_RGB_PIXEL_23)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 23

#if defined(BMC_DEVICE_UI_RGB_PIXEL_24)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 24

#if defined(BMC_DEVICE_UI_RGB_PIXEL_25)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 25

#if defined(BMC_DEVICE_UI_RGB_PIXEL_26)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 26

#if defined(BMC_DEVICE_UI_RGB_PIXEL_27)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 27

#if defined(BMC_DEVICE_UI_RGB_PIXEL_28)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 28

#if defined(BMC_DEVICE_UI_RGB_PIXEL_29)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 29

#if defined(BMC_DEVICE_UI_RGB_PIXEL_30)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 30

#if defined(BMC_DEVICE_UI_RGB_PIXEL_31)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 31

#if defined(BMC_DEVICE_UI_RGB_PIXEL_32)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 32

#if defined(BMC_DEVICE_UI_RGB_PIXEL_33)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 33

#if defined(BMC_DEVICE_UI_RGB_PIXEL_34)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 34

#if defined(BMC_DEVICE_UI_RGB_PIXEL_35)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 35

#if defined(BMC_DEVICE_UI_RGB_PIXEL_36)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 36

#if defined(BMC_DEVICE_UI_RGB_PIXEL_37)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 37

#if defined(BMC_DEVICE_UI_RGB_PIXEL_38)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 38

#if defined(BMC_DEVICE_UI_RGB_PIXEL_39)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 39

#if defined(BMC_DEVICE_UI_RGB_PIXEL_40)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 40

#if defined(BMC_DEVICE_UI_RGB_PIXEL_41)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 41

#if defined(BMC_DEVICE_UI_RGB_PIXEL_42)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 42

#if defined(BMC_DEVICE_UI_RGB_PIXEL_43)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 43

#if defined(BMC_DEVICE_UI_RGB_PIXEL_44)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 44

#if defined(BMC_DEVICE_UI_RGB_PIXEL_45)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 45

#if defined(BMC_DEVICE_UI_RGB_PIXEL_46)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 46

#if defined(BMC_DEVICE_UI_RGB_PIXEL_47)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 47

#if defined(BMC_DEVICE_UI_RGB_PIXEL_48)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 48

#if defined(BMC_DEVICE_UI_RGB_PIXEL_49)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 49

#if defined(BMC_DEVICE_UI_RGB_PIXEL_50)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 50

#if defined(BMC_DEVICE_UI_RGB_PIXEL_51)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 51

#if defined(BMC_DEVICE_UI_RGB_PIXEL_52)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 52

#if defined(BMC_DEVICE_UI_RGB_PIXEL_53)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 53

#if defined(BMC_DEVICE_UI_RGB_PIXEL_54)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 54

#if defined(BMC_DEVICE_UI_RGB_PIXEL_55)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 55

#if defined(BMC_DEVICE_UI_RGB_PIXEL_56)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 56

#if defined(BMC_DEVICE_UI_RGB_PIXEL_57)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 57

#if defined(BMC_DEVICE_UI_RGB_PIXEL_58)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 58

#if defined(BMC_DEVICE_UI_RGB_PIXEL_59)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 59

#if defined(BMC_DEVICE_UI_RGB_PIXEL_60)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 60

#if defined(BMC_DEVICE_UI_RGB_PIXEL_61)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 61

#if defined(BMC_DEVICE_UI_RGB_PIXEL_62)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 62

#if defined(BMC_DEVICE_UI_RGB_PIXEL_63)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 63

#if defined(BMC_DEVICE_UI_RGB_PIXEL_64)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 64

#if defined(BMC_DEVICE_UI_RGB_PIXEL_65)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 65

#if defined(BMC_DEVICE_UI_RGB_PIXEL_66)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 66

#if defined(BMC_DEVICE_UI_RGB_PIXEL_67)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 67

#if defined(BMC_DEVICE_UI_RGB_PIXEL_68)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 68

#if defined(BMC_DEVICE_UI_RGB_PIXEL_69)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 69

#if defined(BMC_DEVICE_UI_RGB_PIXEL_70)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 70

#if defined(BMC_DEVICE_UI_RGB_PIXEL_71)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 71

#if defined(BMC_DEVICE_UI_RGB_PIXEL_72)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 72

#if defined(BMC_DEVICE_UI_RGB_PIXEL_73)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 73

#if defined(BMC_DEVICE_UI_RGB_PIXEL_74)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 74

#if defined(BMC_DEVICE_UI_RGB_PIXEL_75)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 75

#if defined(BMC_DEVICE_UI_RGB_PIXEL_76)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 76

#if defined(BMC_DEVICE_UI_RGB_PIXEL_77)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 77

#if defined(BMC_DEVICE_UI_RGB_PIXEL_78)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 78

#if defined(BMC_DEVICE_UI_RGB_PIXEL_79)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 79

#if defined(BMC_DEVICE_UI_RGB_PIXEL_80)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 80

#if defined(BMC_DEVICE_UI_RGB_PIXEL_81)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 81

#if defined(BMC_DEVICE_UI_RGB_PIXEL_82)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 82

#if defined(BMC_DEVICE_UI_RGB_PIXEL_83)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 83

#if defined(BMC_DEVICE_UI_RGB_PIXEL_84)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 84

#if defined(BMC_DEVICE_UI_RGB_PIXEL_85)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 85

#if defined(BMC_DEVICE_UI_RGB_PIXEL_86)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 86

#if defined(BMC_DEVICE_UI_RGB_PIXEL_87)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 87

#if defined(BMC_DEVICE_UI_RGB_PIXEL_88)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 88

#if defined(BMC_DEVICE_UI_RGB_PIXEL_89)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 89

#if defined(BMC_DEVICE_UI_RGB_PIXEL_90)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 90

#if defined(BMC_DEVICE_UI_RGB_PIXEL_91)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 91

#if defined(BMC_DEVICE_UI_RGB_PIXEL_92)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 92

#if defined(BMC_DEVICE_UI_RGB_PIXEL_93)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 93

#if defined(BMC_DEVICE_UI_RGB_PIXEL_94)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 94

#if defined(BMC_DEVICE_UI_RGB_PIXEL_95)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 95

#if defined(BMC_DEVICE_UI_RGB_PIXEL_96)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 96

#if defined(BMC_DEVICE_UI_RGB_PIXEL_97)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 97

#if defined(BMC_DEVICE_UI_RGB_PIXEL_98)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 98

#if defined(BMC_DEVICE_UI_RGB_PIXEL_99)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 99

#if defined(BMC_DEVICE_UI_RGB_PIXEL_100)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 100

#if defined(BMC_DEVICE_UI_RGB_PIXEL_101)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 101

#if defined(BMC_DEVICE_UI_RGB_PIXEL_102)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 102

#if defined(BMC_DEVICE_UI_RGB_PIXEL_103)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 103

#if defined(BMC_DEVICE_UI_RGB_PIXEL_104)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 104

#if defined(BMC_DEVICE_UI_RGB_PIXEL_105)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 105

#if defined(BMC_DEVICE_UI_RGB_PIXEL_106)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 106

#if defined(BMC_DEVICE_UI_RGB_PIXEL_107)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 107

#if defined(BMC_DEVICE_UI_RGB_PIXEL_108)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 108

#if defined(BMC_DEVICE_UI_RGB_PIXEL_109)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 109

#if defined(BMC_DEVICE_UI_RGB_PIXEL_110)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 110

#if defined(BMC_DEVICE_UI_RGB_PIXEL_111)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 111

#if defined(BMC_DEVICE_UI_RGB_PIXEL_112)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 112

#if defined(BMC_DEVICE_UI_RGB_PIXEL_113)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 113

#if defined(BMC_DEVICE_UI_RGB_PIXEL_114)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 114

#if defined(BMC_DEVICE_UI_RGB_PIXEL_115)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 115

#if defined(BMC_DEVICE_UI_RGB_PIXEL_116)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 116

#if defined(BMC_DEVICE_UI_RGB_PIXEL_117)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 117

#if defined(BMC_DEVICE_UI_RGB_PIXEL_118)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 118

#if defined(BMC_DEVICE_UI_RGB_PIXEL_119)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 119

#if defined(BMC_DEVICE_UI_RGB_PIXEL_120)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 120

#if defined(BMC_DEVICE_UI_RGB_PIXEL_121)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 121

#if defined(BMC_DEVICE_UI_RGB_PIXEL_122)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 122

#if defined(BMC_DEVICE_UI_RGB_PIXEL_123)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 123

#if defined(BMC_DEVICE_UI_RGB_PIXEL_124)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 124

#if defined(BMC_DEVICE_UI_RGB_PIXEL_125)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 125

#if defined(BMC_DEVICE_UI_RGB_PIXEL_126)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 126

#if defined(BMC_DEVICE_UI_RGB_PIXEL_127)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 127

#if defined(BMC_DEVICE_UI_RGB_PIXEL_128)
#ifdef BMC_MAX_RGB_PIXELS
#undef BMC_MAX_RGB_PIXELS
#endif
#define BMC_MAX_RGB_PIXELS 128

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 0
#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_1)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 1

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_2)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 2

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_3)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 3

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_4)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 4

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_5)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 5

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_6)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 6

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_7)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 7

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_8)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 8

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_9)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 9

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_10)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 10

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_11)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 11

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_12)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 12

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_13)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 13

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_14)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 14

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_15)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 15

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_16)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 16

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_17)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 17

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_18)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 18

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_19)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 19

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_20)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 20

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_21)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 21

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_22)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 22

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_23)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 23

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_24)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 24

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_25)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 25

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_26)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 26

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_27)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 27

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_28)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 28

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_29)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 29

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_30)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 30

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_31)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 31

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_32)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 32

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_33)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 33

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_34)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 34

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_35)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 35

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_36)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 36

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_37)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 37

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_38)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 38

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_39)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 39

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_40)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 40

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_41)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 41

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_42)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 42

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_43)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 43

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_44)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 44

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_45)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 45

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_46)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 46

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_47)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 47

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_48)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 48

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_49)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 49

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_50)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 50

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_51)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 51

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_52)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 52

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_53)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 53

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_54)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 54

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_55)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 55

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_56)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 56

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_57)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 57

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_58)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 58

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_59)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 59

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_60)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 60

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_61)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 61

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_62)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 62

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_63)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 63

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_64)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 64

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_65)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 65

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_66)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 66

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_67)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 67

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_68)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 68

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_69)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 69

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_70)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 70

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_71)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 71

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_72)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 72

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_73)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 73

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_74)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 74

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_75)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 75

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_76)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 76

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_77)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 77

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_78)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 78

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_79)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 79

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_80)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 80

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_81)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 81

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_82)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 82

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_83)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 83

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_84)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 84

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_85)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 85

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_86)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 86

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_87)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 87

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_88)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 88

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_89)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 89

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_90)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 90

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_91)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 91

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_92)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 92

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_93)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 93

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_94)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 94

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_95)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 95

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_96)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 96

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_97)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 97

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_98)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 98

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_99)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 99

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_100)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 100

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_101)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 101

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_102)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 102

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_103)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 103

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_104)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 104

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_105)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 105

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_106)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 106

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_107)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 107

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_108)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 108

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_109)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 109

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_110)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 110

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_111)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 111

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_112)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 112

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_113)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 113

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_114)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 114

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_115)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 115

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_116)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 116

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_117)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 117

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_118)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 118

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_119)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 119

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_120)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 120

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_121)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 121

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_122)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 122

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_123)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 123

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_124)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 124

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_125)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 125

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_126)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 126

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_127)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 127

#if defined(BMC_DEVICE_UI_GLOBAL_RGB_PIXEL_128)
#ifdef BMC_MAX_GLOBAL_RGB_PIXELS
#undef BMC_MAX_GLOBAL_RGB_PIXELS
#endif
#define BMC_MAX_GLOBAL_RGB_PIXELS 128

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 0
#if defined(BMC_DEVICE_UI_MAGIC_ENCODER_1)
#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 1

#if defined(BMC_DEVICE_UI_MAGIC_ENCODER_2)
#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 2

#if defined(BMC_DEVICE_UI_MAGIC_ENCODER_3)
#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 3

#if defined(BMC_DEVICE_UI_MAGIC_ENCODER_4)
#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 4

#if defined(BMC_DEVICE_UI_MAGIC_ENCODER_5)
#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 5

#if defined(BMC_DEVICE_UI_MAGIC_ENCODER_6)
#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 6

#if defined(BMC_DEVICE_UI_MAGIC_ENCODER_7)
#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 7

#if defined(BMC_DEVICE_UI_MAGIC_ENCODER_8)
#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 8

#if defined(BMC_DEVICE_UI_MAGIC_ENCODER_9)
#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 9

#if defined(BMC_DEVICE_UI_MAGIC_ENCODER_10)
#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 10

#if defined(BMC_DEVICE_UI_MAGIC_ENCODER_11)
#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 11

#if defined(BMC_DEVICE_UI_MAGIC_ENCODER_12)
#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 12

#if defined(BMC_DEVICE_UI_MAGIC_ENCODER_13)
#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 13

#if defined(BMC_DEVICE_UI_MAGIC_ENCODER_14)
#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 14

#if defined(BMC_DEVICE_UI_MAGIC_ENCODER_15)
#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 15

#if defined(BMC_DEVICE_UI_MAGIC_ENCODER_16)
#ifdef BMC_MAX_MAGIC_ENCODERS
#undef BMC_MAX_MAGIC_ENCODERS
#endif
#define BMC_MAX_MAGIC_ENCODERS 16

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 0
#if defined(BMC_DEVICE_UI_GLOBAL_MAGIC_ENCODER_1)
#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 1

#if defined(BMC_DEVICE_UI_GLOBAL_MAGIC_ENCODER_2)
#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 2

#if defined(BMC_DEVICE_UI_GLOBAL_MAGIC_ENCODER_3)
#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 3

#if defined(BMC_DEVICE_UI_GLOBAL_MAGIC_ENCODER_4)
#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 4

#if defined(BMC_DEVICE_UI_GLOBAL_MAGIC_ENCODER_5)
#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 5

#if defined(BMC_DEVICE_UI_GLOBAL_MAGIC_ENCODER_6)
#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 6

#if defined(BMC_DEVICE_UI_GLOBAL_MAGIC_ENCODER_7)
#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 7

#if defined(BMC_DEVICE_UI_GLOBAL_MAGIC_ENCODER_8)
#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 8

#if defined(BMC_DEVICE_UI_GLOBAL_MAGIC_ENCODER_9)
#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 9

#if defined(BMC_DEVICE_UI_GLOBAL_MAGIC_ENCODER_10)
#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 10

#if defined(BMC_DEVICE_UI_GLOBAL_MAGIC_ENCODER_11)
#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 11

#if defined(BMC_DEVICE_UI_GLOBAL_MAGIC_ENCODER_12)
#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 12

#if defined(BMC_DEVICE_UI_GLOBAL_MAGIC_ENCODER_13)
#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 13

#if defined(BMC_DEVICE_UI_GLOBAL_MAGIC_ENCODER_14)
#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 14

#if defined(BMC_DEVICE_UI_GLOBAL_MAGIC_ENCODER_15)
#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 15

#if defined(BMC_DEVICE_UI_GLOBAL_MAGIC_ENCODER_16)
#ifdef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#undef BMC_MAX_GLOBAL_MAGIC_ENCODERS
#endif
#define BMC_MAX_GLOBAL_MAGIC_ENCODERS 16

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 0
#if defined(BMC_DEVICE_UI_NL_RELAY_1)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 1

#if defined(BMC_DEVICE_UI_NL_RELAY_2)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 2

#if defined(BMC_DEVICE_UI_NL_RELAY_3)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 3

#if defined(BMC_DEVICE_UI_NL_RELAY_4)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 4

#if defined(BMC_DEVICE_UI_NL_RELAY_5)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 5

#if defined(BMC_DEVICE_UI_NL_RELAY_6)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 6

#if defined(BMC_DEVICE_UI_NL_RELAY_7)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 7

#if defined(BMC_DEVICE_UI_NL_RELAY_8)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 8

#if defined(BMC_DEVICE_UI_NL_RELAY_9)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 9

#if defined(BMC_DEVICE_UI_NL_RELAY_10)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 10

#if defined(BMC_DEVICE_UI_NL_RELAY_11)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 11

#if defined(BMC_DEVICE_UI_NL_RELAY_12)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 12

#if defined(BMC_DEVICE_UI_NL_RELAY_13)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 13

#if defined(BMC_DEVICE_UI_NL_RELAY_14)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 14

#if defined(BMC_DEVICE_UI_NL_RELAY_15)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 15

#if defined(BMC_DEVICE_UI_NL_RELAY_16)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 16

#if defined(BMC_DEVICE_UI_NL_RELAY_17)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 17

#if defined(BMC_DEVICE_UI_NL_RELAY_18)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 18

#if defined(BMC_DEVICE_UI_NL_RELAY_19)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 19

#if defined(BMC_DEVICE_UI_NL_RELAY_20)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 20

#if defined(BMC_DEVICE_UI_NL_RELAY_21)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 21

#if defined(BMC_DEVICE_UI_NL_RELAY_22)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 22

#if defined(BMC_DEVICE_UI_NL_RELAY_23)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 23

#if defined(BMC_DEVICE_UI_NL_RELAY_24)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 24

#if defined(BMC_DEVICE_UI_NL_RELAY_25)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 25

#if defined(BMC_DEVICE_UI_NL_RELAY_26)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 26

#if defined(BMC_DEVICE_UI_NL_RELAY_27)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 27

#if defined(BMC_DEVICE_UI_NL_RELAY_28)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 28

#if defined(BMC_DEVICE_UI_NL_RELAY_29)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 29

#if defined(BMC_DEVICE_UI_NL_RELAY_30)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 30

#if defined(BMC_DEVICE_UI_NL_RELAY_31)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 31

#if defined(BMC_DEVICE_UI_NL_RELAY_32)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 32

#if defined(BMC_DEVICE_UI_NL_RELAY_33)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 33

#if defined(BMC_DEVICE_UI_NL_RELAY_34)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 34

#if defined(BMC_DEVICE_UI_NL_RELAY_35)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 35

#if defined(BMC_DEVICE_UI_NL_RELAY_36)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 36

#if defined(BMC_DEVICE_UI_NL_RELAY_37)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 37

#if defined(BMC_DEVICE_UI_NL_RELAY_38)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 38

#if defined(BMC_DEVICE_UI_NL_RELAY_39)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 39

#if defined(BMC_DEVICE_UI_NL_RELAY_40)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 40

#if defined(BMC_DEVICE_UI_NL_RELAY_41)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 41

#if defined(BMC_DEVICE_UI_NL_RELAY_42)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 42

#if defined(BMC_DEVICE_UI_NL_RELAY_43)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 43

#if defined(BMC_DEVICE_UI_NL_RELAY_44)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 44

#if defined(BMC_DEVICE_UI_NL_RELAY_45)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 45

#if defined(BMC_DEVICE_UI_NL_RELAY_46)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 46

#if defined(BMC_DEVICE_UI_NL_RELAY_47)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 47

#if defined(BMC_DEVICE_UI_NL_RELAY_48)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 48

#if defined(BMC_DEVICE_UI_NL_RELAY_49)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 49

#if defined(BMC_DEVICE_UI_NL_RELAY_50)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 50

#if defined(BMC_DEVICE_UI_NL_RELAY_51)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 51

#if defined(BMC_DEVICE_UI_NL_RELAY_52)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 52

#if defined(BMC_DEVICE_UI_NL_RELAY_53)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 53

#if defined(BMC_DEVICE_UI_NL_RELAY_54)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 54

#if defined(BMC_DEVICE_UI_NL_RELAY_55)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 55

#if defined(BMC_DEVICE_UI_NL_RELAY_56)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 56

#if defined(BMC_DEVICE_UI_NL_RELAY_57)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 57

#if defined(BMC_DEVICE_UI_NL_RELAY_58)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 58

#if defined(BMC_DEVICE_UI_NL_RELAY_59)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 59

#if defined(BMC_DEVICE_UI_NL_RELAY_60)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 60

#if defined(BMC_DEVICE_UI_NL_RELAY_61)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 61

#if defined(BMC_DEVICE_UI_NL_RELAY_62)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 62

#if defined(BMC_DEVICE_UI_NL_RELAY_63)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 63

#if defined(BMC_DEVICE_UI_NL_RELAY_64)
#ifdef BMC_MAX_NL_RELAYS
#undef BMC_MAX_NL_RELAYS
#endif
#define BMC_MAX_NL_RELAYS 64

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 0
#if defined(BMC_DEVICE_UI_L_RELAY_1)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 1

#if defined(BMC_DEVICE_UI_L_RELAY_2)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 2

#if defined(BMC_DEVICE_UI_L_RELAY_3)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 3

#if defined(BMC_DEVICE_UI_L_RELAY_4)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 4

#if defined(BMC_DEVICE_UI_L_RELAY_5)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 5

#if defined(BMC_DEVICE_UI_L_RELAY_6)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 6

#if defined(BMC_DEVICE_UI_L_RELAY_7)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 7

#if defined(BMC_DEVICE_UI_L_RELAY_8)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 8

#if defined(BMC_DEVICE_UI_L_RELAY_9)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 9

#if defined(BMC_DEVICE_UI_L_RELAY_10)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 10

#if defined(BMC_DEVICE_UI_L_RELAY_11)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 11

#if defined(BMC_DEVICE_UI_L_RELAY_12)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 12

#if defined(BMC_DEVICE_UI_L_RELAY_13)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 13

#if defined(BMC_DEVICE_UI_L_RELAY_14)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 14

#if defined(BMC_DEVICE_UI_L_RELAY_15)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 15

#if defined(BMC_DEVICE_UI_L_RELAY_16)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 16

#if defined(BMC_DEVICE_UI_L_RELAY_17)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 17

#if defined(BMC_DEVICE_UI_L_RELAY_18)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 18

#if defined(BMC_DEVICE_UI_L_RELAY_19)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 19

#if defined(BMC_DEVICE_UI_L_RELAY_20)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 20

#if defined(BMC_DEVICE_UI_L_RELAY_21)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 21

#if defined(BMC_DEVICE_UI_L_RELAY_22)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 22

#if defined(BMC_DEVICE_UI_L_RELAY_23)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 23

#if defined(BMC_DEVICE_UI_L_RELAY_24)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 24

#if defined(BMC_DEVICE_UI_L_RELAY_25)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 25

#if defined(BMC_DEVICE_UI_L_RELAY_26)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 26

#if defined(BMC_DEVICE_UI_L_RELAY_27)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 27

#if defined(BMC_DEVICE_UI_L_RELAY_28)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 28

#if defined(BMC_DEVICE_UI_L_RELAY_29)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 29

#if defined(BMC_DEVICE_UI_L_RELAY_30)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 30

#if defined(BMC_DEVICE_UI_L_RELAY_31)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 31

#if defined(BMC_DEVICE_UI_L_RELAY_32)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 32

#if defined(BMC_DEVICE_UI_L_RELAY_33)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 33

#if defined(BMC_DEVICE_UI_L_RELAY_34)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 34

#if defined(BMC_DEVICE_UI_L_RELAY_35)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 35

#if defined(BMC_DEVICE_UI_L_RELAY_36)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 36

#if defined(BMC_DEVICE_UI_L_RELAY_37)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 37

#if defined(BMC_DEVICE_UI_L_RELAY_38)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 38

#if defined(BMC_DEVICE_UI_L_RELAY_39)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 39

#if defined(BMC_DEVICE_UI_L_RELAY_40)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 40

#if defined(BMC_DEVICE_UI_L_RELAY_41)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 41

#if defined(BMC_DEVICE_UI_L_RELAY_42)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 42

#if defined(BMC_DEVICE_UI_L_RELAY_43)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 43

#if defined(BMC_DEVICE_UI_L_RELAY_44)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 44

#if defined(BMC_DEVICE_UI_L_RELAY_45)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 45

#if defined(BMC_DEVICE_UI_L_RELAY_46)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 46

#if defined(BMC_DEVICE_UI_L_RELAY_47)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 47

#if defined(BMC_DEVICE_UI_L_RELAY_48)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 48

#if defined(BMC_DEVICE_UI_L_RELAY_49)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 49

#if defined(BMC_DEVICE_UI_L_RELAY_50)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 50

#if defined(BMC_DEVICE_UI_L_RELAY_51)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 51

#if defined(BMC_DEVICE_UI_L_RELAY_52)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 52

#if defined(BMC_DEVICE_UI_L_RELAY_53)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 53

#if defined(BMC_DEVICE_UI_L_RELAY_54)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 54

#if defined(BMC_DEVICE_UI_L_RELAY_55)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 55

#if defined(BMC_DEVICE_UI_L_RELAY_56)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 56

#if defined(BMC_DEVICE_UI_L_RELAY_57)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 57

#if defined(BMC_DEVICE_UI_L_RELAY_58)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 58

#if defined(BMC_DEVICE_UI_L_RELAY_59)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 59

#if defined(BMC_DEVICE_UI_L_RELAY_60)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 60

#if defined(BMC_DEVICE_UI_L_RELAY_61)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 61

#if defined(BMC_DEVICE_UI_L_RELAY_62)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 62

#if defined(BMC_DEVICE_UI_L_RELAY_63)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 63

#if defined(BMC_DEVICE_UI_L_RELAY_64)
#ifdef BMC_MAX_L_RELAYS
#undef BMC_MAX_L_RELAYS
#endif
#define BMC_MAX_L_RELAYS 64

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 0
#if defined(BMC_DEVICE_UI_AUX_JACK_1)
#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 1

#if defined(BMC_DEVICE_UI_AUX_JACK_2)
#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 2

#if defined(BMC_DEVICE_UI_AUX_JACK_3)
#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 3

#if defined(BMC_DEVICE_UI_AUX_JACK_4)
#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 4

#if defined(BMC_DEVICE_UI_AUX_JACK_5)
#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 5

#if defined(BMC_DEVICE_UI_AUX_JACK_6)
#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 6

#if defined(BMC_DEVICE_UI_AUX_JACK_7)
#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 7

#if defined(BMC_DEVICE_UI_AUX_JACK_8)
#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 8

#if defined(BMC_DEVICE_UI_AUX_JACK_9)
#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 9

#if defined(BMC_DEVICE_UI_AUX_JACK_10)
#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 10

#if defined(BMC_DEVICE_UI_AUX_JACK_11)
#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 11

#if defined(BMC_DEVICE_UI_AUX_JACK_12)
#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 12

#if defined(BMC_DEVICE_UI_AUX_JACK_13)
#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 13

#if defined(BMC_DEVICE_UI_AUX_JACK_14)
#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 14

#if defined(BMC_DEVICE_UI_AUX_JACK_15)
#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 15

#if defined(BMC_DEVICE_UI_AUX_JACK_16)
#ifdef BMC_MAX_AUX_JACKS
#undef BMC_MAX_AUX_JACKS
#endif
#define BMC_MAX_AUX_JACKS 16

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_PIXEL_STRIP
#undef BMC_MAX_PIXEL_STRIP
#endif
#define BMC_MAX_PIXEL_STRIP 0
#if defined(BMC_DEVICE_UI_PIXEL_STRIP_1)
#ifdef BMC_MAX_PIXEL_STRIP
#undef BMC_MAX_PIXEL_STRIP
#endif
#define BMC_MAX_PIXEL_STRIP 1

#endif

#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 0

#if defined(BMC_DEVICE_UI_OLED_1)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 1


#if defined(BMC_DEVICE_UI_OLED_2)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 2


#if defined(BMC_DEVICE_UI_OLED_3)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 3


#if defined(BMC_DEVICE_UI_OLED_4)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 4


#if defined(BMC_DEVICE_UI_OLED_5)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 5


#if defined(BMC_DEVICE_UI_OLED_6)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 6


#if defined(BMC_DEVICE_UI_OLED_7)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 7


#if defined(BMC_DEVICE_UI_OLED_8)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 8


#if defined(BMC_DEVICE_UI_OLED_9)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 9


#if defined(BMC_DEVICE_UI_OLED_10)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 10


#if defined(BMC_DEVICE_UI_OLED_11)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 11


#if defined(BMC_DEVICE_UI_OLED_12)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 12


#if defined(BMC_DEVICE_UI_OLED_13)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 13


#if defined(BMC_DEVICE_UI_OLED_14)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 14


#if defined(BMC_DEVICE_UI_OLED_15)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 15


#if defined(BMC_DEVICE_UI_OLED_16)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 16


#if defined(BMC_DEVICE_UI_OLED_17)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 17


#if defined(BMC_DEVICE_UI_OLED_18)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 18


#if defined(BMC_DEVICE_UI_OLED_19)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 19


#if defined(BMC_DEVICE_UI_OLED_20)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 20


#if defined(BMC_DEVICE_UI_OLED_21)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 21


#if defined(BMC_DEVICE_UI_OLED_22)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 22


#if defined(BMC_DEVICE_UI_OLED_23)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 23


#if defined(BMC_DEVICE_UI_OLED_24)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 24


#if defined(BMC_DEVICE_UI_OLED_25)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 25


#if defined(BMC_DEVICE_UI_OLED_26)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 26


#if defined(BMC_DEVICE_UI_OLED_27)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 27


#if defined(BMC_DEVICE_UI_OLED_28)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 28


#if defined(BMC_DEVICE_UI_OLED_29)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 29


#if defined(BMC_DEVICE_UI_OLED_30)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 30


#if defined(BMC_DEVICE_UI_OLED_31)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 31


#if defined(BMC_DEVICE_UI_OLED_32)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 32


#if defined(BMC_DEVICE_UI_OLED_33)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 33


#if defined(BMC_DEVICE_UI_OLED_34)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 34


#if defined(BMC_DEVICE_UI_OLED_35)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 35


#if defined(BMC_DEVICE_UI_OLED_36)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 36


#if defined(BMC_DEVICE_UI_OLED_37)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 37


#if defined(BMC_DEVICE_UI_OLED_38)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 38


#if defined(BMC_DEVICE_UI_OLED_39)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 39


#if defined(BMC_DEVICE_UI_OLED_40)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 40


#if defined(BMC_DEVICE_UI_OLED_41)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 41


#if defined(BMC_DEVICE_UI_OLED_42)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 42


#if defined(BMC_DEVICE_UI_OLED_43)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 43


#if defined(BMC_DEVICE_UI_OLED_44)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 44


#if defined(BMC_DEVICE_UI_OLED_45)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 45


#if defined(BMC_DEVICE_UI_OLED_46)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 46


#if defined(BMC_DEVICE_UI_OLED_47)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 47


#if defined(BMC_DEVICE_UI_OLED_48)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 48


#if defined(BMC_DEVICE_UI_OLED_49)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 49


#if defined(BMC_DEVICE_UI_OLED_50)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 50


#if defined(BMC_DEVICE_UI_OLED_51)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 51


#if defined(BMC_DEVICE_UI_OLED_52)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 52


#if defined(BMC_DEVICE_UI_OLED_53)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 53


#if defined(BMC_DEVICE_UI_OLED_54)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 54


#if defined(BMC_DEVICE_UI_OLED_55)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 55


#if defined(BMC_DEVICE_UI_OLED_56)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 56


#if defined(BMC_DEVICE_UI_OLED_57)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 57


#if defined(BMC_DEVICE_UI_OLED_58)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 58


#if defined(BMC_DEVICE_UI_OLED_59)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 59


#if defined(BMC_DEVICE_UI_OLED_60)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 60


#if defined(BMC_DEVICE_UI_OLED_61)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 61


#if defined(BMC_DEVICE_UI_OLED_62)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 62


#if defined(BMC_DEVICE_UI_OLED_63)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 63


#if defined(BMC_DEVICE_UI_OLED_64)
#ifdef BMC_MAX_OLED
#undef BMC_MAX_OLED
#endif
#define BMC_MAX_OLED 64


#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#if defined(BMC_MAX_ILI9341_BLOCKS)
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 0

#if defined(BMC_USE_ILI9341)
#undef BMC_USE_ILI9341
#endif

#if defined(BMC_DEVICE_UI_ILI) && BMC_TEENSY_MODEL != 32
#if defined(BMC_DEVICE_UI_ILI_1)
#ifdef BMC_MAX_ILI9341_BLOCKS
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 1
#if !defined(BMC_USE_ILI9341)
#define BMC_USE_ILI9341
#endif


#if defined(BMC_DEVICE_UI_ILI_2)
#ifdef BMC_MAX_ILI9341_BLOCKS
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 2
#if !defined(BMC_USE_ILI9341)
#define BMC_USE_ILI9341
#endif


#if defined(BMC_DEVICE_UI_ILI_3)
#ifdef BMC_MAX_ILI9341_BLOCKS
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 3
#if !defined(BMC_USE_ILI9341)
#define BMC_USE_ILI9341
#endif


#if defined(BMC_DEVICE_UI_ILI_4)
#ifdef BMC_MAX_ILI9341_BLOCKS
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 4
#if !defined(BMC_USE_ILI9341)
#define BMC_USE_ILI9341
#endif


#if defined(BMC_DEVICE_UI_ILI_5)
#ifdef BMC_MAX_ILI9341_BLOCKS
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 5
#if !defined(BMC_USE_ILI9341)
#define BMC_USE_ILI9341
#endif


#if defined(BMC_DEVICE_UI_ILI_6)
#ifdef BMC_MAX_ILI9341_BLOCKS
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 6
#if !defined(BMC_USE_ILI9341)
#define BMC_USE_ILI9341
#endif


#if defined(BMC_DEVICE_UI_ILI_7)
#ifdef BMC_MAX_ILI9341_BLOCKS
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 7
#if !defined(BMC_USE_ILI9341)
#define BMC_USE_ILI9341
#endif


#if defined(BMC_DEVICE_UI_ILI_8)
#ifdef BMC_MAX_ILI9341_BLOCKS
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 8
#if !defined(BMC_USE_ILI9341)
#define BMC_USE_ILI9341
#endif


#if defined(BMC_DEVICE_UI_ILI_9)
#ifdef BMC_MAX_ILI9341_BLOCKS
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 9
#if !defined(BMC_USE_ILI9341)
#define BMC_USE_ILI9341
#endif


#if defined(BMC_DEVICE_UI_ILI_10)
#ifdef BMC_MAX_ILI9341_BLOCKS
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 10
#if !defined(BMC_USE_ILI9341)
#define BMC_USE_ILI9341
#endif


#if defined(BMC_DEVICE_UI_ILI_11)
#ifdef BMC_MAX_ILI9341_BLOCKS
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 11
#if !defined(BMC_USE_ILI9341)
#define BMC_USE_ILI9341
#endif


#if defined(BMC_DEVICE_UI_ILI_12)
#ifdef BMC_MAX_ILI9341_BLOCKS
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 12
#if !defined(BMC_USE_ILI9341)
#define BMC_USE_ILI9341
#endif


#if defined(BMC_DEVICE_UI_ILI_13)
#ifdef BMC_MAX_ILI9341_BLOCKS
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 13
#if !defined(BMC_USE_ILI9341)
#define BMC_USE_ILI9341
#endif


#if defined(BMC_DEVICE_UI_ILI_14)
#ifdef BMC_MAX_ILI9341_BLOCKS
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 14
#if !defined(BMC_USE_ILI9341)
#define BMC_USE_ILI9341
#endif


#if defined(BMC_DEVICE_UI_ILI_15)
#ifdef BMC_MAX_ILI9341_BLOCKS
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 15
#if !defined(BMC_USE_ILI9341)
#define BMC_USE_ILI9341
#endif


#if defined(BMC_DEVICE_UI_ILI_16)
#ifdef BMC_MAX_ILI9341_BLOCKS
#undef BMC_MAX_ILI9341_BLOCKS
#endif
#define BMC_MAX_ILI9341_BLOCKS 16
#if !defined(BMC_USE_ILI9341)
#define BMC_USE_ILI9341
#endif


#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#if defined(BMC_MAX_MINI_DISPLAY)
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 0

#if defined(BMC_USE_MINI_DISPLAY)
#undef BMC_USE_MINI_DISPLAY
#endif

#if BMC_TEENSY_MODEL != 32
#if defined(BMC_DEVICE_UI_MINI_DISPLAY_1)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 1
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_2)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 2
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_3)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 3
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_4)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 4
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_5)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 5
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_6)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 6
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_7)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 7
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_8)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 8
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_9)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 9
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_10)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 10
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_11)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 11
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_12)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 12
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_13)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 13
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_14)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 14
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_15)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 15
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_16)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 16
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_17)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 17
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_18)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 18
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_19)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 19
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_20)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 20
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_21)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 21
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_22)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 22
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_23)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 23
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_24)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 24
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_25)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 25
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_26)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 26
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_27)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 27
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_28)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 28
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_29)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 29
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_30)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 30
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_31)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 31
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#if defined(BMC_DEVICE_UI_MINI_DISPLAY_32)
#ifdef BMC_MAX_MINI_DISPLAY
#undef BMC_MAX_MINI_DISPLAY
#endif
#define BMC_MAX_MINI_DISPLAY 32
#if !defined(BMC_USE_MINI_DISPLAY)
#define BMC_USE_MINI_DISPLAY
#endif


#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#if defined(BMC_MAX_LCD)
#undef BMC_MAX_LCD
#endif
#define BMC_MAX_LCD 0

#if defined(BMC_USE_LCD)
#undef BMC_USE_LCD
#endif

#if defined(BMC_DEVICE_UI_LCD_1)
#ifdef BMC_MAX_LCD
#undef BMC_MAX_LCD
#endif
#define BMC_MAX_LCD 1
#if !defined(BMC_USE_LCD)
#define BMC_USE_LCD
#endif


#if defined(BMC_DEVICE_UI_LCD_2)
#ifdef BMC_MAX_LCD
#undef BMC_MAX_LCD
#endif
#define BMC_MAX_LCD 2
#if !defined(BMC_USE_LCD)
#define BMC_USE_LCD
#endif


#if defined(BMC_DEVICE_UI_LCD_3)
#ifdef BMC_MAX_LCD
#undef BMC_MAX_LCD
#endif
#define BMC_MAX_LCD 3
#if !defined(BMC_USE_LCD)
#define BMC_USE_LCD
#endif


#if defined(BMC_DEVICE_UI_LCD_4)
#ifdef BMC_MAX_LCD
#undef BMC_MAX_LCD
#endif
#define BMC_MAX_LCD 4
#if !defined(BMC_USE_LCD)
#define BMC_USE_LCD
#endif


#if defined(BMC_DEVICE_UI_LCD_5)
#ifdef BMC_MAX_LCD
#undef BMC_MAX_LCD
#endif
#define BMC_MAX_LCD 5
#if !defined(BMC_USE_LCD)
#define BMC_USE_LCD
#endif


#if defined(BMC_DEVICE_UI_LCD_6)
#ifdef BMC_MAX_LCD
#undef BMC_MAX_LCD
#endif
#define BMC_MAX_LCD 6
#if !defined(BMC_USE_LCD)
#define BMC_USE_LCD
#endif


#if defined(BMC_DEVICE_UI_LCD_7)
#ifdef BMC_MAX_LCD
#undef BMC_MAX_LCD
#endif
#define BMC_MAX_LCD 7
#if !defined(BMC_USE_LCD)
#define BMC_USE_LCD
#endif


#if defined(BMC_DEVICE_UI_LCD_8)
#ifdef BMC_MAX_LCD
#undef BMC_MAX_LCD
#endif
#define BMC_MAX_LCD 8
#if !defined(BMC_USE_LCD)
#define BMC_USE_LCD
#endif


#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 0
#if defined(BMC_LINK_1)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 1

#if defined(BMC_LINK_2)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 2

#if defined(BMC_LINK_3)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 3

#if defined(BMC_LINK_4)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 4

#if defined(BMC_LINK_5)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 5

#if defined(BMC_LINK_6)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 6

#if defined(BMC_LINK_7)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 7

#if defined(BMC_LINK_8)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 8

#if defined(BMC_LINK_9)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 9

#if defined(BMC_LINK_10)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 10

#if defined(BMC_LINK_11)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 11

#if defined(BMC_LINK_12)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 12

#if defined(BMC_LINK_13)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 13

#if defined(BMC_LINK_14)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 14

#if defined(BMC_LINK_15)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 15

#if defined(BMC_LINK_16)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 16

#if defined(BMC_LINK_17)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 17

#if defined(BMC_LINK_18)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 18

#if defined(BMC_LINK_19)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 19

#if defined(BMC_LINK_20)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 20

#if defined(BMC_LINK_21)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 21

#if defined(BMC_LINK_22)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 22

#if defined(BMC_LINK_23)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 23

#if defined(BMC_LINK_24)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 24

#if defined(BMC_LINK_25)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 25

#if defined(BMC_LINK_26)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 26

#if defined(BMC_LINK_27)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 27

#if defined(BMC_LINK_28)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 28

#if defined(BMC_LINK_29)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 29

#if defined(BMC_LINK_30)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 30

#if defined(BMC_LINK_31)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 31

#if defined(BMC_LINK_32)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 32

#if defined(BMC_LINK_33)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 33

#if defined(BMC_LINK_34)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 34

#if defined(BMC_LINK_35)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 35

#if defined(BMC_LINK_36)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 36

#if defined(BMC_LINK_37)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 37

#if defined(BMC_LINK_38)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 38

#if defined(BMC_LINK_39)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 39

#if defined(BMC_LINK_40)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 40

#if defined(BMC_LINK_41)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 41

#if defined(BMC_LINK_42)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 42

#if defined(BMC_LINK_43)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 43

#if defined(BMC_LINK_44)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 44

#if defined(BMC_LINK_45)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 45

#if defined(BMC_LINK_46)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 46

#if defined(BMC_LINK_47)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 47

#if defined(BMC_LINK_48)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 48

#if defined(BMC_LINK_49)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 49

#if defined(BMC_LINK_50)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 50

#if defined(BMC_LINK_51)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 51

#if defined(BMC_LINK_52)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 52

#if defined(BMC_LINK_53)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 53

#if defined(BMC_LINK_54)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 54

#if defined(BMC_LINK_55)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 55

#if defined(BMC_LINK_56)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 56

#if defined(BMC_LINK_57)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 57

#if defined(BMC_LINK_58)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 58

#if defined(BMC_LINK_59)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 59

#if defined(BMC_LINK_60)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 60

#if defined(BMC_LINK_61)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 61

#if defined(BMC_LINK_62)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 62

#if defined(BMC_LINK_63)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 63

#if defined(BMC_LINK_64)
#ifdef BMC_MAX_LINKS
#undef BMC_MAX_LINKS
#endif
#define BMC_MAX_LINKS 64

#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

#endif
