projects
/
cortex-from-scratch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'tm1637'
[cortex-from-scratch]
/
drivers
/
tm1637.c
diff --git
a/drivers/tm1637.c
b/drivers/tm1637.c
index
485d81d
..
8c8ce5b
100644
(file)
--- a/
drivers/tm1637.c
+++ b/
drivers/tm1637.c
@@
-28,7
+28,7
@@
#include <drivers/tm1637.h>
-#define TIMEOUT
1
000
+#define TIMEOUT
5
000
#define DOT true
#define NODOT false
@@
-221,7
+221,6
@@
void set_segment(int offset, char value, bool dot) {
cputs("Error: can't set location\n");
stop_condition();
-
regw_u32(I2C_CR1, 0x1, 15, SETBIT);
tm1637_reset();