Browse Source

Fix typo in new SET_COM macro

pull/1/head
benlye 8 years ago
committed by Roxy-3D
parent
commit
3ed737425d
  1. 2
      Marlin/fastio.h

2
Marlin/fastio.h

@ -138,7 +138,7 @@ typedef enum {
}while(0) }while(0)
#define SET_COM(T,Q,V) do{ \ #define SET_COM(T,Q,V) do{ \
TCCR##T##Q = (TCCR##T##Q & !(0x3 << COM1##Q##0) | (int(V) & 0x3) << COM1##Q##0); \ TCCR##T##Q = (TCCR##T##Q & ~(0x3 << COM1##Q##0) | (int(V) & 0x3) << COM1##Q##0); \
}while(0) }while(0)
#define SET_COMA(T,V) SET_COM(T,A,V) #define SET_COMA(T,V) SET_COM(T,A,V)
#define SET_COMB(T,V) SET_COM(T,B,V) #define SET_COMB(T,V) SET_COM(T,B,V)

Loading…
Cancel
Save