Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: tni

Search: Search took 0.00 seconds.

  1. Replies
    34
    Views
    24,609

    Is there a reason Teensy LC still has broken DMA?...

    Is there a reason Teensy LC still has broken DMA?

    https://github.com/PaulStoffregen/cores/pull/241/files
  2. Replies
    34
    Views
    24,609

    Actually, your min() version is a statement...

    Actually, your min() version is a statement expression (not a raw ternary operator) - that eliminates most (maybe all?) issues. Something like this should work for the C++ side:

    C++11:


    ...
  3. Replies
    34
    Views
    24,609

    It's a bad idea to have min / max macros in the...

    It's a bad idea to have min / max macros in the first place. 'c++config.h', which is included with GCC undefines that crap. However, by including 'type_traits', you include 'c++config.h' in turn. You...
Results 1 to 3 of 3