mirror of
https://github.com/gillham/logic_analyzer.git
synced 2026-05-01 15:10:43 +03:00
Merge pull request #3 from scottp/master
Correct long standing bug in the device profiles on github where the data was being reversed by the client due to the reverseOrder setting. The sketch returns the data in the sampled order, but the client appears to expect it reversed, so the sense of the setting is backwards. Data is in the correct order based on a simple test program, even though the setting is "wrong". Invert the comment as well. Also increase the delay on the Mega as it doesn't always respond fast enough. Patches from scottp.
This commit is contained in:
@@ -45,7 +45,7 @@ device.open.portdtr = true
|
||||
# Which metadata keys correspond to this device profile? Value is a comma-separated list of (double quoted) names...
|
||||
device.metadata.keys = "AGLAv0"
|
||||
|
||||
# In which order are samples sent back from the device? true = last sample first, false = first sample first
|
||||
device.samples.reverseOrder = false
|
||||
# In which order are samples sent back from the device? false = last sample first, true = first sample first
|
||||
device.samples.reverseOrder = true
|
||||
|
||||
###EOF###
|
||||
|
||||
@@ -39,13 +39,13 @@ device.capturesize.bound = false
|
||||
device.channel.numberingschemes = DEFAULT
|
||||
|
||||
# Is a delay after opening the port and device detection needed? (0 = no delay, >0 = delay in milliseconds)
|
||||
device.open.portdelay = 1000
|
||||
device.open.portdelay = 2000
|
||||
# Does the device need a high or low DTR-line to operate correctly? (high = true, low = false)
|
||||
device.open.portdtr = true
|
||||
# Which metadata keys correspond to this device profile? Value is a comma-separated list of (double quoted) names...
|
||||
device.metadata.keys = "AGLAMv0"
|
||||
|
||||
# In which order are samples sent back from the device? true = last sample first, false = first sample first
|
||||
device.samples.reverseOrder = false
|
||||
# In which order are samples sent back from the device? false = last sample first, true = first sample first
|
||||
device.samples.reverseOrder = true
|
||||
|
||||
###EOF###
|
||||
|
||||
Reference in New Issue
Block a user