| /* | |
| * Copyright (c) 2020 Raspberry Pi (Trading) Ltd. | |
| * | |
| * SPDX-License-Identifier: BSD-3-Clause | |
| */ | |
| #ifndef _PICO_ERROR_H | |
| #define _PICO_ERROR_H | |
| /*! | |
| * Common return codes from pico_sdk methods that return a status | |
| */ | |
| enum { | |
| PICO_OK = 0, | |
| PICO_ERROR_NONE = 0, | |
| PICO_ERROR_TIMEOUT = -1, | |
| PICO_ERROR_GENERIC = -2, | |
| PICO_ERROR_NO_DATA = -3, | |
| }; | |
| #endif |