Skip to content

Commit

Permalink
Remove extra macro
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Apr 27, 2020
1 parent 0b3a964 commit 66676e6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Marlin/src/core/macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,6 @@
#define FMOD(x, y) fmodf(x, y)
#define HYPOT(x,y) SQRT(HYPOT2(x,y))

#define I2C_ADDRESS(A) (typeof(A))(TERN(TARGET_LPC1768, (A) << 1, A))

// Use NUM_ARGS(__VA_ARGS__) to get the number of variadic arguments
#define _NUM_ARGS(_,Z,Y,X,W,V,U,T,S,R,Q,P,O,N,M,L,K,J,I,H,G,F,E,D,C,B,A,OUT,...) OUT
#define NUM_ARGS(V...) _NUM_ARGS(0,V,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
Expand Down

0 comments on commit 66676e6

Please sign in to comment.