summaryrefslogtreecommitdiff
path: root/zephyr/test/krabby/src/stubs.c
blob: c5cdf50b4475c02cd624536d50f14d931be11ca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* Copyright 2022 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "adc.h"
#include "charge_ramp.h"
#include "charge_state.h"
#include "usbc_ppc.h"

__override void board_set_charge_limit(int port, int supplier, int charge_ma,
				       int max_ma, int charge_mv)
{
}

int pd_check_vconn_swap(int port)
{
	return 0;
}

int board_get_adjusted_usb_pd_port_count(int port)
{
	return 2;
}

uint16_t tcpc_get_alert_status(void)
{
	return 0;
}