1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-01 09:24:05 +02:00

fw/image.* (image_secret): make image_secret global, for future sharing

This commit is contained in:
Werner Almesberger 2012-06-27 02:30:39 -03:00
parent 308c094af2
commit 276ffd7f44
2 changed files with 6 additions and 1 deletions

View File

@ -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"
}; };

View File

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