summaryrefslogtreecommitdiff
path: root/zephyr/test/krabby/src/stubs.c
blob: df1613528dde1d437e7265eba5ee9decf1a8c362 (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
/* 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;
}