diff options
Diffstat (limited to 'users/drashna/readme.md')
| -rw-r--r-- | users/drashna/readme.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/users/drashna/readme.md b/users/drashna/readme.md index ddf24b24f..0aa73ece9 100644 --- a/users/drashna/readme.md +++ b/users/drashna/readme.md | |||
| @@ -96,7 +96,7 @@ Then you can create this file and add your macro strings to it: | |||
| 96 | 96 | ||
| 97 | ###### secrets.h | 97 | ###### secrets.h |
| 98 | ```c | 98 | ```c |
| 99 | PROGMEM const char secret[][64] = { | 99 | static const char * const secrets[] = { |
| 100 | "secret1", | 100 | "secret1", |
| 101 | "secret2", | 101 | "secret2", |
| 102 | "secret3", | 102 | "secret3", |
| @@ -116,7 +116,7 @@ In the `<name>.c` file, you will want to add this to the top: | |||
| 116 | #else | 116 | #else |
| 117 | // `PROGMEM const char secret[][x]` may work better, but it takes up more space in the firmware | 117 | // `PROGMEM const char secret[][x]` may work better, but it takes up more space in the firmware |
| 118 | // And I'm not familiar enough to know which is better or why... | 118 | // And I'm not familiar enough to know which is better or why... |
| 119 | PROGMEM const char secret[][64] = { | 119 | static const char * const secrets[] = { |
| 120 | "test1", | 120 | "test1", |
| 121 | "test2", | 121 | "test2", |
| 122 | "test3", | 122 | "test3", |
