Fixed makefile and initialized variable i ADXL355 files
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13481 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
1ea2c385c7
commit
0276e731fd
|
@ -178,7 +178,7 @@ static msg_t acc_read_cooked(void *ip, float axes[]) {
|
|||
ADXL355Driver* devp;
|
||||
uint32_t i;
|
||||
int32_t raw[ADXL355_ACC_NUMBER_OF_AXES];
|
||||
msg_t msg;
|
||||
msg_t msg = MSG_OK;
|
||||
|
||||
osalDbgCheck((ip != NULL) && (axes != NULL));
|
||||
|
||||
|
@ -341,7 +341,7 @@ static msg_t acc_reset_sensivity(void *ip) {
|
|||
static msg_t acc_set_full_scale(ADXL355Driver *devp, adxl355_acc_fs_t fs) {
|
||||
float newfs, scale;
|
||||
uint8_t i, reg_val;
|
||||
msg_t msg;
|
||||
msg_t msg = MSG_OK;
|
||||
|
||||
osalDbgCheck(devp != NULL);
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
# Compiler options here.
|
||||
ifeq ($(USE_OPT),)
|
||||
USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16
|
||||
USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
|
||||
endif
|
||||
|
||||
# C specific options here (added to USE_OPT).
|
||||
|
|
Loading…
Reference in New Issue