Fixed a small mistake in the previous commit.
This commit is contained in:
parent
1dc9704a24
commit
180321029a
@ -356,10 +356,10 @@ zeagle_n2ition3_device_foreach (device_t *abstract, dive_callback_t callback, vo
|
|||||||
unsigned int available = 0;
|
unsigned int available = 0;
|
||||||
unsigned int remaining = total;
|
unsigned int remaining = total;
|
||||||
unsigned int offset = RB_PROFILE_END - RB_PROFILE_BEGIN;
|
unsigned int offset = RB_PROFILE_END - RB_PROFILE_BEGIN;
|
||||||
unsigned int address = previous;
|
|
||||||
|
|
||||||
idx = last;
|
idx = last;
|
||||||
previous = eop;
|
previous = eop;
|
||||||
|
unsigned int address = previous;
|
||||||
for (unsigned int i = 0; i < count; ++i) {
|
for (unsigned int i = 0; i < count; ++i) {
|
||||||
// Get the pointer to the profile data.
|
// Get the pointer to the profile data.
|
||||||
unsigned int current = array_uint16_le (config + 2 * idx);
|
unsigned int current = array_uint16_le (config + 2 * idx);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user