distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
littlefs1ErrorToErrorCode.cpp File Reference

littlefs1ErrorToErrorCode() implementation More...

#include "littlefs1ErrorToErrorCode.hpp"
#include "lfs1.h"
#include <cerrno>
Include dependency graph for littlefs1ErrorToErrorCode.cpp:

Namespaces

 distortos
 Top-level namespace of distortos project.
 

Functions

int distortos::littlefs1ErrorToErrorCode (int littlefs1Error)
 Converts littlefs-v1 error to error code. More...
 

Detailed Description

littlefs1ErrorToErrorCode() implementation

Author
Copyright (C) 2018-2019 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.