// SPDX-FileCopyrightText: 2024 Cesanta Software Limited
// SPDX-License-Identifier: GPL-2.0-only or commercial
// Generated by Mongoose Wizard, https://mongoose.ws/wizard/

// Default mock implementation of the API callbacks

#include "mongoose_glue.h"
// Do not edit! See https://mongoose.ws/documentation/#overriding-default-glue-callbacks
static struct gauge s_gauge = {42};
void glue_get_gauge(struct gauge *data) {
  *data = s_gauge;  // Sync with your device
}

// Do not edit! See https://mongoose.ws/documentation/#overriding-default-glue-callbacks
static struct pwm s_pwm = {50};
void glue_get_pwm(struct pwm *data) {
  *data = s_pwm;  // Sync with your device
}
void glue_set_pwm(struct pwm *data) {
  s_pwm = *data; // Sync with your device
}

// Do not edit! See https://mongoose.ws/documentation/#overriding-default-glue-callbacks
static struct leds s_leds = {false, false};
void glue_get_leds(struct leds *data) {
  *data = s_leds;  // Sync with your device
}
void glue_set_leds(struct leds *data) {
  s_leds = *data; // Sync with your device
}
