Premium Member Phil Rhodes Posted July 15, 2018 Premium Member Share Posted July 15, 2018 I have decided that, every time I have to write a piece of code like this, I'm going to gripe about it to Americans. Grrrr. uint8_t ltc_get_next_frame(){ if(ltc_ff == ltc_framerate_maxframes[ltc_framerate_now]){ if(ltc_df && ltc_ss == 59 && ltc_mm != 9 && ltc_mm != 19 && ltc_mm != 29 && ltc_mm != 39 && ltc_mm != 49 && ltc_mm != 59 ){ return 2; } else { return 0; } } else { return ltc_ff + 1; } } Link to comment Share on other sites More sharing options...
Guest Posted July 15, 2018 Share Posted July 15, 2018 Phil, how many people in the world, aside from you, understand the above??????????? R, Link to comment Share on other sites More sharing options...
Premium Member Phil Rhodes Posted July 15, 2018 Author Premium Member Share Posted July 15, 2018 I don't care. Link to comment Share on other sites More sharing options...
Guest Posted July 15, 2018 Share Posted July 15, 2018 Ok just so we're clear. :) R, Link to comment Share on other sites More sharing options...
Brenton Lee Posted July 16, 2018 Share Posted July 16, 2018 well i figured out that it has something to do with integers and thats about it Link to comment Share on other sites More sharing options...
Max Field Posted July 16, 2018 Share Posted July 16, 2018 Time to consider a new career, Phil. Maybe a stuntman? Link to comment Share on other sites More sharing options...
David Peterson Posted July 16, 2018 Share Posted July 16, 2018 Phil, how many people in the world, aside from you, understand the above??????????? R, If context is given, then lots, it isn't exactly super complex code Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now