diff options
author | Christian Pointner <equinox@spreadspace.org> | 2013-02-06 23:34:23 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2013-02-06 23:34:23 +0000 |
commit | 39fbf3f7d4545f45bde7ae413c8d98ef6c96378f (patch) | |
tree | e454a7cbaac70d5a6510194494ae6a02a1368af4 /usb-i2c-sl018/limits.c | |
parent | needs other limit none (diff) |
renamed limits_none to moving
git-svn-id: https://svn.spreadspace.org/avr/trunk@153 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'usb-i2c-sl018/limits.c')
-rw-r--r-- | usb-i2c-sl018/limits.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usb-i2c-sl018/limits.c b/usb-i2c-sl018/limits.c index 98144ed..471f894 100644 --- a/usb-i2c-sl018/limits.c +++ b/usb-i2c-sl018/limits.c @@ -38,9 +38,9 @@ void init_limits(void) limits_t limits_get(void) { - limits_t state = none; + limits_t state = moving; - uint8_t tmp = LIMITS_PORT; + uint8_t tmp = LIMITS_PORT & (1<<LIMITS_OPEN | 1<<LIMITS_CLOSE); return state; |