LULZBOT_TOUCH_UI fixes. Fix some warnings. (#15276)

This commit is contained in:
Marcio Teixeira
2019-09-16 15:49:46 -06:00
committed by Scott Lahteine
parent 847e4ced11
commit 7a569ad4d0
16 changed files with 92 additions and 41 deletions

View File

@ -63,7 +63,7 @@
// Macros for bit masks
#undef _BV
#define _BV(n) (1<<(n))
#define TEST(n,b) !!((n)&_BV(b))
#define TEST(n,b) (!!((n)&_BV(b)))
#define SET_BIT_TO(N,B,TF) do{ if (TF) SBI(N,B); else CBI(N,B); }while(0)
#ifndef SBI