[fix] negative offset
This commit is contained in:
@@ -7,7 +7,7 @@ typedef struct
|
||||
{
|
||||
uint32_t frequency;
|
||||
uint16_t amplitude;
|
||||
uint16_t offset;
|
||||
int16_t offset;
|
||||
uint16_t phase;
|
||||
uint8_t duty;
|
||||
uint8_t enabled;
|
||||
@@ -17,7 +17,7 @@ typedef struct
|
||||
{
|
||||
uint32_t frequency;
|
||||
uint16_t amplitude;
|
||||
uint16_t offset;
|
||||
int16_t offset;
|
||||
uint16_t phase;
|
||||
uint8_t wave;
|
||||
uint8_t enabled;
|
||||
|
||||
Reference in New Issue
Block a user