]> sigrok.org Git - sigrok-firmware-fx2lafw.git/commitdiff
dscr.inc: Shorten representation of two strings.
authorUwe Hermann <redacted>
Wed, 10 Aug 2016 05:40:43 +0000 (07:40 +0200)
committerUwe Hermann <redacted>
Wed, 10 Aug 2016 12:43:53 +0000 (14:43 +0200)
include/dscr.inc

index 5d0f0597514f74f4c37ae54c9bcc4c284babb7be..2497b60e5203a5995f1036690219905d960d535d 100644 (file)
@@ -173,39 +173,15 @@ string0end:
 _string1:
        .db     string1end - _string1
        .db     DSCR_STRING_TYPE
-       .ascii  's'
-       .db     0
-       .ascii  'i'
-       .db     0
-       .ascii  'g'
-       .db     0
-       .ascii  'r'
-       .db     0
-       .ascii  'o'
-       .db     0
-       .ascii  'k'
-       .db     0
+       .ascii  's\0i\0g\0r\0o\0k\0'
 string1end:
 
 _string2:
        .db     string2end - _string2
        .db     DSCR_STRING_TYPE
-       .ascii  'f'
-       .db     0
-       .ascii  'x'
-       .db     0
-       .ascii  '2'
-       .db     0
-       .ascii  'l'
-       .db     0
-       .ascii  'a'
-       .db     0
-       .ascii  'f'
-       .db     0
-       .ascii  'w'
-       .db     0
+       .ascii  'f\0x\0002\0l\0a\0f\0w\0'
 string2end:
 
 _dev_strings_end:
-       .dw 0x0000
+       .dw     0x0000