Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: whitequark/libfx2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5879db859fdb
Choose a base ref
...
head repository: whitequark/libfx2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0b9dc40085d4
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jul 15, 2019

  1. Copy the full SHA
    0b9dc40 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 firmware/library/include/fx2queue.h
2 changes: 1 addition & 1 deletion firmware/library/include/fx2queue.h
Original file line number Diff line number Diff line change
@@ -122,7 +122,7 @@ struct _queue {
#define DEFINE_QUEUE(name, ty, cap) \
struct _queue name = {0, 0}; \
ty name##_data[cap]; \
_Static_assert(cap <= (1 << (sizeof(sig_atomic_t) * 8 - 1)), \
_Static_assert((cap) <= (1 << (sizeof(sig_atomic_t) * 8 - 1)), \
"Capacity of queue " #name \
" must be less than one half of the range of sig_atomic_t");