Commit 26d20f6e authored by Astro's avatar Astro

Merge branch 'firmware-1.15+' into 'master'

firmware: update to v1.15 + MAX86150

See merge request astro/rust-card10!25
parents 18eba092 89593fda
Pipeline #4519 failed with stage
in 13 minutes and 9 seconds
Subproject commit f17417e13cfc6d51ad9e4b66bc0b72b5bd05beea
Subproject commit da4bc11fbdded3588a97b1f905da4866a30f520c
This diff is collapsed.
......@@ -212,6 +212,16 @@ void __api_dispatch_call(uint32_t id, void*epc__apistub_buffer)
*(struct bme680_sensor_data **)(epc__apistub_buffer + 0)
);
break;
case API_MAX86150_ENABLE:
*((int*)epc__apistub_buffer) = epic_max86150_enable_sensor(
*(struct max86150_sensor_config **)(epc__apistub_buffer + 0),
*(size_t*)(epc__apistub_buffer + sizeof(struct max86150_sensor_config *))
);
break;
case API_MAX86150_DISABLE:
*((int*)epc__apistub_buffer) = epic_max86150_disable_sensor(
);
break;
case API_PERSONAL_STATE_SET:
*((int*)epc__apistub_buffer) = epic_personal_state_set(
*(uint8_t*)(epc__apistub_buffer + 0),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment