Skip to content
Commit 458ae340 authored by Martí Bolívar's avatar Martí Bolívar Committed by Carles Cufi
Browse files

util.h: clean up UTIL_INC_x and UTIL_DEC_x



Move the repetitive definitions used to add and subtract 1 at
preprocessor time into their own file. Make the behavior consistent,
so that you can invoke UTIL_INC(x) for any x you can invoke
UTIL_DEC(x) on.

Signed-off-by: default avatarMartí Bolívar <marti.bolivar@nordicsemi.no>
parent 3c0124a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment