Minor style clean up
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
94db8a9414
commit
7d66a16c53
@ -277,6 +277,7 @@
|
|||||||
#ifndef MAX
|
#ifndef MAX
|
||||||
# define MAX(a,b) (((a) > (b)) ? (a) : (b))
|
# define MAX(a,b) (((a) > (b)) ? (a) : (b))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Private Types
|
* Private Types
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -764,7 +764,7 @@ config MPU60X0_GYRO_FS_SEL
|
|||||||
default 2
|
default 2
|
||||||
---help---
|
---help---
|
||||||
Sets the @fs_sel bit in GYRO_CONFIG to the value provided. Per
|
Sets the @fs_sel bit in GYRO_CONFIG to the value provided. Per
|
||||||
the datasheet, the meaning of @fs_sel is as follows:
|
the datasheet, the meaning of @fs_sel is as follows:
|
||||||
GYRO_CONFIG(0x1b) : XG_ST YG_ST ZG_ST FS_SEL1 FS_SEL0 x x x
|
GYRO_CONFIG(0x1b) : XG_ST YG_ST ZG_ST FS_SEL1 FS_SEL0 x x x
|
||||||
XG_ST, YG_ST, ZG_ST : self-test (unsupported in this driver)
|
XG_ST, YG_ST, ZG_ST : self-test (unsupported in this driver)
|
||||||
1 -> activate self-test on X, Y, and/or Z gyros
|
1 -> activate self-test on X, Y, and/or Z gyros
|
||||||
|
@ -79,7 +79,7 @@ $(AOBJS): %$(OBJEXT): %.S
|
|||||||
$(COBJS): %$(OBJEXT): %.c
|
$(COBJS): %$(OBJEXT): %.c
|
||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
$(BIN): $(OBJS)
|
$(BIN): $(OBJS)
|
||||||
$(call ARCHIVE, $@, $(OBJS))
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
context::
|
context::
|
||||||
|
@ -71,7 +71,7 @@ $(CXXOBJS): %$(OBJEXT): %.cxx
|
|||||||
$(CPPOBJS): %$(OBJEXT): %.cpp
|
$(CPPOBJS): %$(OBJEXT): %.cpp
|
||||||
$(call COMPILEXX, $<, $@)
|
$(call COMPILEXX, $<, $@)
|
||||||
|
|
||||||
$(BIN): $(OBJS)
|
$(BIN): $(OBJS)
|
||||||
$(call ARCHIVE, $@, $(OBJS))
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
context::
|
context::
|
||||||
|
@ -38,7 +38,7 @@ $(AOBJS): %$(OBJEXT): %.S
|
|||||||
$(COBJS): %$(OBJEXT): %.c
|
$(COBJS): %$(OBJEXT): %.c
|
||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
$(BIN): $(OBJS)
|
$(BIN): $(OBJS)
|
||||||
$(call ARCHIVE, $@, $(OBJS))
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
|
makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
|
||||||
|
Loading…
Reference in New Issue
Block a user