Skip to content

Commit

Permalink
v2.2.2 fixes bug with On-Board Editor
Browse files Browse the repository at this point in the history
  • Loading branch information
neroroxxx committed Jan 3, 2024
1 parent 195f254 commit 66ff12e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=BMC
version=2.2.1
version=2.2.2
author=Nero Rox
maintainer=Nero Rox <info@roxxxtar.com>
sentence=Fully featured MIDI Controller Library with a Companion Editor App for 32-bit Teensy boards, Requires Teensyduino.
Expand Down
4 changes: 2 additions & 2 deletions src/BMC-Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
// BMC Version stored in EEPROM (for editor usage)
#define BMC_VERSION_MAJ 2
#define BMC_VERSION_MIN 2
#define BMC_VERSION_PATCH 1
#define BMC_VERSION_PATCH 2

#define BMC_VERSION_STR "2.2.1"
#define BMC_VERSION_STR "2.2.2"

//16 bits unsigned, LSB byte is minor, MSB byte is major
#define BMC_VERSION ((BMC_VERSION_MAJ<<8) | BMC_VERSION_MIN)
Expand Down
4 changes: 3 additions & 1 deletion src/editor/onBoard/BMC-OBEMain.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,12 @@ class BMCOBE {
}
}
bool checkDeviceAssignment(uint8_t t_type, uint16_t t_n, uint8_t t_dir, uint8_t t_ticks=1){
bool ret = false;

#if defined(BMC_OBE_CUSTOM_ASSIGNMENT)
if(!globals.onBoardEditorActive()){
return false;
}
bool ret = false;
for(uint8_t i = 0; i < 6 ; i++){
// BMC_MENU_SELECT
// BMC_MENU_BACK
Expand Down Expand Up @@ -150,6 +151,7 @@ class BMCOBE {
}
}
#endif

return ret;
}
void render(){
Expand Down

0 comments on commit 66ff12e

Please sign in to comment.