Changed error codes
This commit is contained in:
@@ -7,8 +7,11 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define IMAGE_FLIP_SUCCESS 0
|
||||
#define IMAGE_FLIP_FAIL 0
|
||||
|
||||
#define IMAGE_FLIP_ERROR_PREFIX 0x30
|
||||
#define IMAGE_FLIP_LENGTH_ERROR (IMAGE_FLIP_ERROR_PREFIX + 0x01)
|
||||
|
||||
#define IMAGE_FLIP_SUCCESS 0x00
|
||||
|
||||
uint8_t flip_image(const uint8_t* source, uint8_t* destination, uint64_t data_length, uint64_t width, uint64_t height);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user