Skip to content

Commit

Permalink
[UPDATE]Mfbd update to v1.0.4 (#1632)
Browse files Browse the repository at this point in the history
* MFBD UPDATE

MFBD UPDATE TO v1.0.4

* Update Kconfig

* Update misc/MFBD/Kconfig

---------

Co-authored-by: Man, Jianting (Meco) <[email protected]>
  • Loading branch information
smartmx and mysterywolf authored Jul 4, 2023
1 parent a1d2682 commit 135bdc9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
15 changes: 15 additions & 0 deletions misc/MFBD/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ if PKG_USING_MFBD
bool "Enable Multi-Function Button Detection demo"
default n

if PKG_MFBD_VER_NUM >= 0x010004
config PKG_MFBD_USE_SECTION_DEFINITION
bool "enable use section definitions."
default n

config PKG_MFBD_MULTICLICK_STATE_AUTO_RESET
bool "reset multiclick state to 0 when reach to max multicick state."
default y
endif

if PKG_MFBD_VER_NUM >= 0x010003
choice
prompt "the type of mfbd_btn_code_t"
Expand Down Expand Up @@ -125,6 +135,9 @@ if PKG_USING_MFBD
help
Select the package version

config PKG_USING_MFBD_V104
bool "v1.0.4"

config PKG_USING_MFBD_V103
bool "v1.0.3"

Expand All @@ -143,6 +156,7 @@ if PKG_USING_MFBD

config PKG_MFBD_VER
string
default "v1.0.4" if PKG_USING_MFBD_V104
default "v1.0.3" if PKG_USING_MFBD_V103
default "v1.0.2" if PKG_USING_MFBD_V102
default "v1.0.1" if PKG_USING_MFBD_V101
Expand All @@ -151,6 +165,7 @@ if PKG_USING_MFBD

config PKG_MFBD_VER_NUM
hex
default 0x010004 if PKG_USING_MFBD_V104
default 0x010003 if PKG_USING_MFBD_V103
default 0x010002 if PKG_USING_MFBD_V102
default 0x010001 if PKG_USING_MFBD_V101
Expand Down
5 changes: 5 additions & 0 deletions misc/MFBD/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
"homepage": "https://github.com/smartmx/MFBD",
"readme": "https://github.com/smartmx/MFBD/blob/main/README.md",
"site": [
{
"version": "v1.0.4",
"URL": "https://github.com/smartmx/MFBD/archive/v1.0.4.zip",
"filename": "MFBD-1.0.4.zip"
},
{
"version": "v1.0.3",
"URL": "https://github.com/smartmx/MFBD/archive/v1.0.3.zip",
Expand Down

0 comments on commit 135bdc9

Please sign in to comment.