silver13 / Eachine-E011

MIT License
54 stars 22 forks source link

rx_bayang_ble_app.c issue #5

Open zonners opened 6 years ago

zonners commented 6 years ago

I try to active bayang_ble_app for telemetry, i change my_quad_name and my_quad_id, after i try to build the project, there's always come with 1 warning in line 1168 :

src\rx_bayang_ble_app.c(1168): warning: #68-D: integer conversion resulted in a change of sign if ( temp > 1000 && ( temp - (PACKET_OFFSET) )/((int) PACKET_PERIOD) >= (skipchannel + 1) )

define USE_STOCK_TX was active on config.h

so the PACKET_OFFSET value change from 250 to -250

how to fix this?

Thanks

silver13 commented 6 years ago

that warning is ok to have, not sure exactly why it's there

zonners commented 6 years ago

Can i build the project with that warning? Another one, for E011 if i want to change mode from level to acro with a button rather than gesture and turn on/off led with button, which code should i change? Im a newbie for coding =)

Thanks for help

silver13 commented 6 years ago

yes you can ignore the warning

the config for level mode can be seen in file config.h: https://github.com/silver13/H8mini_blue_board/blob/master/Silverware/src/config.h#L105

there is a bit of info in the wiki: http://sirdomsen.diskstation.me/dokuwiki/doku.php?id=start

haminizardi commented 6 years ago

Can e011 connect with android silvervise program? How to