mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2024-11-22 17:34:05 +02:00
fw/image.* (image_secret): make image_secret global, for future sharing
This commit is contained in:
parent
308c094af2
commit
276ffd7f44
@ -32,7 +32,7 @@ static bool failed;
|
|||||||
const struct line *image = images[0];
|
const struct line *image = images[0];
|
||||||
|
|
||||||
|
|
||||||
static const uint8_t image_secret[2*PAYLOAD] PROGMEM = {
|
const uint8_t image_secret[2*PAYLOAD] PROGMEM = {
|
||||||
#include "image-secret.inc"
|
#include "image-secret.inc"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -17,6 +17,10 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include <avr/pgmspace.h>
|
||||||
|
|
||||||
|
#include "proto.h"
|
||||||
|
|
||||||
|
|
||||||
#define MAX_LINES 80
|
#define MAX_LINES 80
|
||||||
|
|
||||||
@ -28,5 +32,6 @@ struct line {
|
|||||||
|
|
||||||
|
|
||||||
extern const struct line *image;
|
extern const struct line *image;
|
||||||
|
extern const uint8_t image_secret[2*PAYLOAD] PROGMEM;
|
||||||
|
|
||||||
#endif /* !IMAGE_H */
|
#endif /* !IMAGE_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user