projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixup seven segment debug code
[fw/altos]
/
src
/
drivers
/
ao_adxl375.c
diff --git
a/src/drivers/ao_adxl375.c
b/src/drivers/ao_adxl375.c
index be9be79c3ef99f0adabffe856e7b689caf4b690d..9e5666cc5d6dcb83ea11697e676ba3b544555f01 100644
(file)
--- a/
src/drivers/ao_adxl375.c
+++ b/
src/drivers/ao_adxl375.c
@@
-26,7
+26,7
@@
#define PRINTD(l,...)
#endif
#define PRINTD(l,...)
#endif
-#define AO_ADXL375_SPI_SPEED ao_spi_speed(
1
00000)
+#define AO_ADXL375_SPI_SPEED ao_spi_speed(
50
00000)
struct ao_adxl375_sample ao_adxl375_current;
struct ao_adxl375_sample ao_adxl375_current;
@@
-222,7
+222,6
@@
ao_adxl375_setup(void)
static void
ao_adxl375(void)
{
static void
ao_adxl375(void)
{
- ao_delay(AO_SEC_TO_TICKS(5));
ao_adxl375_setup();
for (;;) {
ao_adxl375_value(&ao_adxl375_current);
ao_adxl375_setup();
for (;;) {
ao_adxl375_value(&ao_adxl375_current);