@web-font-path: "roboto-debian.css";
Loading...
Searching...
No Matches
error.h
1/*
2 * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef _PICO_ERROR_H
8#define _PICO_ERROR_H
9
10#ifndef __ASSEMBLER__
11
17 PICO_OK = 0,
18 PICO_ERROR_NONE = 0,
19 PICO_ERROR_TIMEOUT = -1,
20 PICO_ERROR_GENERIC = -2,
21 PICO_ERROR_NO_DATA = -3,
22 PICO_ERROR_NOT_PERMITTED = -4,
23 PICO_ERROR_INVALID_ARG = -5,
24 PICO_ERROR_IO = -6,
25 PICO_ERROR_BADAUTH = -7,
26 PICO_ERROR_CONNECT_FAILED = -8,
27 PICO_ERROR_INSUFFICIENT_RESOURCES = -9,
28};
29
30#endif // !__ASSEMBLER__
31
32#endif
pico_error_codes
Common return codes from pico_sdk methods that return a status.
Definition error.h:16