fix name change in pumps start > running
This commit is contained in:
parent
54d7eb9277
commit
b56ad43a59
2 changed files with 2 additions and 2 deletions
|
@ -19,6 +19,6 @@ uint8_t pumps_get_duration(uint8_t idx);
|
||||||
uint8_t pumps_set_enabled(uint8_t idx, uint8_t value);
|
uint8_t pumps_set_enabled(uint8_t idx, uint8_t value);
|
||||||
uint8_t pumps_get_enabled(uint8_t idx);
|
uint8_t pumps_get_enabled(uint8_t idx);
|
||||||
|
|
||||||
uint8_t pumps_get_state(uint8_t idx);
|
uint8_t pumps_get_running(uint8_t idx);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -68,7 +68,7 @@ static barback_ble_access_t barback_ble_pump_access_enabled = {
|
||||||
}
|
}
|
||||||
|
|
||||||
static barback_ble_access_t barback_ble_pump_access_state = {
|
static barback_ble_access_t barback_ble_pump_access_state = {
|
||||||
.read = pumps_get_state,
|
.read = pumps_get_running,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define BLE_CHAR_PUMP_STATE(idx) {\
|
#define BLE_CHAR_PUMP_STATE(idx) {\
|
||||||
|
|
Loading…
Reference in a new issue