19 lines
303 B
C

#include "mpu_driver.h"
typedef struct mpu_s {
} mpu_t;
esp_err_t mpu_init(mpu_config_t *config, mpu_t **hndl_out) {
mpu_t *hndl = malloc(sizeof(mpu_t));
if (!hndl) return ESP_ERR_NO_MEM;
*hndl_out = hndl;
return ESP_OK;
}
esp_err_t mpu_free(mpu_t *hndl) {
free(hndl);
return ESP_OK;
}