-
-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ghost MSP support #419
Ghost MSP support #419
Conversation
@TheIsotopes It is not ready yet for testing. I will let you know once it will be. Intention of this PR is to create place where we can discuss it etc. You are really fast :D |
59086c9
to
f43955f
Compare
@daleckystepan Good job on this and the rest of the PRs to go with it 👍 |
src/SCRIPTS/BF/MSP/ghost.lua
Outdated
local GHST_FRAMETYPE_MSP_WRITE = 0x22 | ||
local GHST_FRAMETYPE_MSP_RESP = 0x28 | ||
|
||
ghstMspType = 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be local ghstMspType = 0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
src/SCRIPTS/BF/MSP/ghost.lua
Outdated
-- GHOST Frame Types | ||
local GHST_FRAMETYPE_MSP_REQ = 0x21 | ||
local GHST_FRAMETYPE_MSP_WRITE = 0x22 | ||
local GHST_FRAMETYPE_MSP_RESP = 0x28 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have fewer spaces here?
I see that were calling it both "ghst" and "ghost". Which one is the "correct" one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer ghst
as it goes nice with csrf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
f43955f
to
1e4ac12
Compare
1e4ac12
to
9523c75
Compare
Is Ghost MSP working now? |
Try latest nightly viewer: https://github.com/betaflight/blackbox-log-viewer-nightlies/releases/tag/v20220921.21 |
Add MSP support for Ghost
Need new Ghost FW v1.0.6.0+
BF: betaflight/betaflight#11242
ETX: EdgeTX/edgetx#1377