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 /*!
11  * Common return codes from pico_sdk methods that return a status
12  */
13 enum {
14     PICO_OK = 0,
15     PICO_ERROR_NONE = 0,
16     PICO_ERROR_TIMEOUT = -1,
17     PICO_ERROR_GENERIC = -2,
18     PICO_ERROR_NO_DATA = -3,
19 };
20 
21 #endif