memeruiz wrote:Here is my first contribution to the project. A patch for the new frsky sensor FLVS-01 and some other things.
OK, I reckon I've got the cell voltage monitoring in, changed a few things, cleared the number of cells when you load a new model, otherwise if you switch models from say 4 cells to 3 cells, the 4th cell may cause an alarm when it isn't there!
Rather than add extra display screens, I've put them on the bottom of the 'GPS' screen for now.
I haven't added the accelerometer info yet, the previous hub protocol indicated a different resolution, so we would need to know which protocol is running, and scale the values accordingly I think. This needs checking.
I'll commit my changes soon, still testing some space saving changes, they are beginning to get slightly more obscure as I've saved so much already. I once heard of someone who was supposed to be able to make any program 10% shorter, the question is "for how many iterations?"
For interest, all the menus use up almost 34K of the flash, and thats just the code, it doesn't include the text.