Add Decoder ID defines inside board header files
This commit is contained in:
1 parent
01eb754e01
commit
9ded7e0483
3 files changed
+7
-1
No files matched your search
+1
-1
@@ -131,7 +131,7 @@ uint8_t CV_ARRAY_DEFAULT [CV_ARRAY_SIZE] = {
|
||||
0b00000000, //CV_106 - user data
|
||||
0b00000001, //CV_107 - MSB Manufacturer ID for DIY https://www.decoderdb.com/database/decoderdb-list
|
||||
0b00001011, //CV_108 - LSB Manufacturer ID
|
||||
0b00000000, //CV_109 - decoder id
|
||||
DECODER_ID, //CV_109 - Decoder ID defined by board .h file (e.g. RP2040-Decoder-board-USB.h)
|
||||
0b00000000, //CV_110 -
|
||||
0b00000000, //CV_111 -
|
||||
///// PWM - Configuration //////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
// For board detection
|
||||
#define RP2040_DECODER
|
||||
|
||||
// Decoder ID (CV_109)
|
||||
#define DECODER_ID 1
|
||||
|
||||
// In case the xosc takes longer to stabilize than usual
|
||||
#ifndef PICO_XOSC_STARTUP_DELAY_MULTIPLIER
|
||||
#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
// For board detection
|
||||
#define RP2040_DECODER
|
||||
|
||||
// Decoder ID (CV_109)
|
||||
#define DECODER_ID 2
|
||||
|
||||
// In case the xosc takes longer to stabilize than usual
|
||||
#ifndef PICO_XOSC_STARTUP_DELAY_MULTIPLIER
|
||||
#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64
|
||||
|
||||
Reference in new issue
Block a user