mesh: fix generic_level_status_handler

This commit is contained in:
Matthias Ringwald 2019-07-20 14:46:10 +02:00
parent e514a7f533
commit bcf4b18c55

View File

@ -245,7 +245,7 @@ static void generic_level_status_handler(mesh_model_t *mesh_model, mesh_pdu_t *
little_endian_store_16(event, pos, present_value);
pos += 2;
little_endian_store_16(event, pos, present_value);
little_endian_store_16(event, pos, target_value);
pos += 2;
little_endian_store_32(event, pos, (uint32_t) mesh_access_time_gdtt2ms(remaining_time_gdtt));