Skip to content

Commit b171d51

Browse files
committed
Fixed example in readme, always compile your examples! fix DavyLandman#1
1 parent 58867ab commit b171d51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ Usage example:
4343
4444
```c
4545
Serial.begin(57600);
46-
uint8_t[] key = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15];
47-
char[] data = "0123456789012345"; //16 chars == 16 bytes
46+
uint8_t key[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
47+
char data[] = "0123456789012345"; //16 chars == 16 bytes
4848
aes128_enc_single(key, data);
4949
Serial.print("encrypted:");
5050
Serial.println(data);

0 commit comments

Comments
 (0)