// // Created by jedi on 09.09.21. // #ifndef FIRMWARE_TYPES_H #define FIRMWARE_TYPES_H #ifdef __cplusplus extern "C" { #endif enum return_code { OK = 0, SEQUENCE_OUT_OF_ORDER, CHECKSUM_MISMATCH, RBOOT_SWITCH_FAILED, ERROR = 0xFF }; #ifdef __cplusplus } #endif #endif //FIRMWARE_TYPES_H