Git Product home page Git Product logo

Comments (12)

j0e57 avatar j0e57 commented on July 18, 2024

I already trying to update here https://github.com/j0e57/deviation/tree/j0e57-patch-1
but Im still can not test it as need higher windows version to compile, can anyone help to compile ? I try to test on my quad

from deviation.

hexfet avatar hexfet commented on July 18, 2024

Please try the build here. It is from your branch with one fix applied - case clauses don't create blocks.

diff --git a/src/protocol/cx10_nrf24l01.c b/src/protocol/cx10_nrf24l01.c
index 84330a24..2cbc348b 100644
--- a/src/protocol/cx10_nrf24l01.c
+++ b/src/protocol/cx10_nrf24l01.c
@@ -403,6 +403,7 @@ static void initialize_txid()
     case FORMAT_Q282:
     case FORMAT_Q242:
     case FORMAT_Q222:
+        {
                uint8_t offset=0;       //F_Q282
                      if(Model.proto_opts[PROTOOPTS_FORMAT] == FORMAT_Q242)
                             offset=2;
@@ -410,6 +411,7 @@ static void initialize_txid()
                                offset=3;
                      for(u8 i=0; i < 4; i++)
                                rf_chans[i] = 0x46 + 2*i + offset;
+        }
       
 //        rf_chans[0] = 0x46;
 //        rf_chans[1] = 0x48;

My recommendation for building on windows is to install VirtualBox, create an Ubuntu VM, and build on linux :)

from deviation.

j0e57 avatar j0e57 commented on July 18, 2024

Thanks will try & report asap

from deviation.

j0e57 avatar j0e57 commented on July 18, 2024

Seems Im missing something (seems forgot to add null on last array), my devo 10 keep restart while try to change CX10 submodel

from deviation.

j0e57 avatar j0e57 commented on July 18, 2024

Already fix on my branch https://github.com/j0e57/deviation/tree/j0e57-patch-1, including creating block on case clause.. Im still using Windows XP, even I edit github use phone as preview changes do nothing in my browser. Thank for help

from deviation.

hexfet avatar hexfet commented on July 18, 2024

You're welcome. New build 4c28c51 is here.

from deviation.

j0e57 avatar j0e57 commented on July 18, 2024

Already test it, Menu system OK but still trouble binding.. will examine code again

from deviation.

j0e57 avatar j0e57 commented on July 18, 2024

Only found slight mistake on definition :
uint8_t offset = 0;
while here should be like this:
u8 offset =0;
do you think it make differences or error ? if not so maybe need further investigation :)

from deviation.

hexfet avatar hexfet commented on July 18, 2024

That doesn't make a difference. Those two are equivalent.

I took a quick look and seems like your Q222 changes are equivalent to the ones in MultiModule. Will take a closer look.

from deviation.

j0e57 avatar j0e57 commented on July 18, 2024

From https://www.rcgroups.com/forums/showthread.php?2165676-DIY-Multiprotocol-TX-Module/page425#post36264456 from Dutch79 post seems my quad is Q222 v2 and maybe different binding methods, on my 1st post my original Tx is missing but when you reply my Tx already found so not much trouble for me but if my devo 10 can successfully bind sure good to anyone that interested :)

from deviation.

hexfet avatar hexfet commented on July 18, 2024

I took a closer look and don't see anything you missed. Packet output looks fine in the emulator. Maybe it's just that v2 is different. If you want to make a pull request I'll merge your code - may help someone else.

from deviation.

j0e57 avatar j0e57 commented on July 18, 2024

ok, already create.. hope help other

from deviation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.