projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lm3s1968: improve the example with GUI enhancements, keypad driver and menu.
[bertos.git]
/
bertos
/
drv
/
mcp41.c
diff --git
a/bertos/drv/mcp41.c
b/bertos/drv/mcp41.c
index 02cff086bb2a9ca7dcd1e3b4358066f0f21a5f0e..bfa8fd4ebac7935544e66976c5c3b5001d7d9d6b 100644
(file)
--- a/
bertos/drv/mcp41.c
+++ b/
bertos/drv/mcp41.c
@@
-57,7
+57,6
@@
void mcp41_setResistance(Mcp41Dev dev, mcp41_res_t res)
kfile_putc(MCP41_WRITE_DATA, ch);
kfile_putc(((MCP41_HW_MAX * (uint32_t)res) + (MCP41_MAX / 2)) / MCP41_MAX, ch);
kfile_flush(ch);
- ser_drain(spi_ser);
MCP41_OFF(dev);
}