mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-13 13:32:53 +08:00
Merge branch 'master' of https://github.com/dreamsourcelab/DSView
This commit is contained in:
commit
33c2c8fdfc
@ -668,6 +668,8 @@ install(FILES DSView/icons/logo.svg DESTINATION share/pixmaps RENAME dsview.svg)
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
install(FILES DSView/DSView.desktop DESTINATION /usr/share/applications RENAME dsview.desktop)
|
||||
|
||||
add_compile_definitions(_DEFAULT_SOURCE)
|
||||
|
||||
if(IS_DIRECTORY /usr/lib/udev/rules.d)
|
||||
install(FILES DSView/DreamSourceLab.rules DESTINATION /usr/lib/udev/rules.d RENAME 60-dreamsourcelab.rules)
|
||||
elseif(IS_DIRECTORY /lib/udev/rules.d)
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include "../log.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "libsigrok-internal.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <stdio.h>
|
||||
#include "log.h"
|
||||
|
||||
|
@ -231,7 +231,7 @@ class Decoder(srd.Decoder):
|
||||
|
||||
def handle_cmd24(self):
|
||||
# CMD24: WRITE_BLOCK
|
||||
self.putc(Ann.CMD24, 'Write a block to address {$}', self.arg))
|
||||
self.putc(Ann.CMD24, 'Write a block to address {$}', self.arg)
|
||||
self.is_cmd24 = True
|
||||
self.state = 'GET RESPONSE R1'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user