got it working, just a small bug left
This commit is contained in:
parent
4ade3a5f00
commit
f3a619decc
7 changed files with 356 additions and 178 deletions
|
@ -79,6 +79,7 @@ struct osclsk_scope {
|
|||
|
||||
uint16_t screen_px_y_max[OSCLSK_SCREEN_XSZ];
|
||||
uint16_t screen_px_y_min[OSCLSK_SCREEN_XSZ];
|
||||
size_t render_idx;
|
||||
|
||||
osclsk_scope(void) : st(osc_state::INIT),
|
||||
block_fill(0), block_fill_nsamp(0),
|
||||
|
@ -87,7 +88,8 @@ struct osclsk_scope {
|
|||
trig_margin(.05f), trig_num(0),
|
||||
trig_num_req(2),
|
||||
trig_state(osc_trig_state::INIT),
|
||||
trig_mode(osc_trig_mode::RISING_EDGE) {};
|
||||
trig_mode(osc_trig_mode::RISING_EDGE),
|
||||
render_idx(0) {};
|
||||
|
||||
int init(uint8_t *dma_buf, size_t dma_sz);
|
||||
int init_block(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue