fiatlux/firmware/types.h
jedi 24f5e4398d
All checks were successful
continuous-integration/drone/push Build is passing
Add error handling to OTA process
2021-09-12 22:00:59 +02:00

20 lines
296 B
C

//
// 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