diff --git a/src/aio.c b/src/aio.c index 800d3fe..8f7ec64 100644 --- a/src/aio.c +++ b/src/aio.c @@ -251,11 +251,11 @@ void aio_update(struct aio_t *aio) { void aio_close(const struct aio_t *aio) { const struct curve_point_t fan_curve[] = { - { 34, 20}, - { 35, 35 }, - { 39, 50 }, - { 46, 75 }, - { 55, 100} + { .temp = 34, .duty = 20}, + { .temp = 35, .duty = 35 }, + { .temp = 39, .duty = 50 }, + { .temp = 46, .duty = 75 }, + { .temp = 55, .duty = 100} }; aio_set_pump_mode(aio->handle, BALANCED);