mirror of
https://github.com/EEVengers/ThunderScope.git
synced 2025-04-22 17:43:44 +00:00
adc bugfixes
This commit is contained in:
parent
91a88f978e
commit
3d89cb41f1
Software/libthunderscopehw/library
@ -14,7 +14,7 @@ enum ThunderScopeHWStatus thunderscopehw_adc_power(struct ThunderScopeHW* ts, bo
|
||||
{
|
||||
return thunderscopehw_adc_set_reg(ts,
|
||||
THUNDERSCOPEHW_ADC_REG_POWER,
|
||||
on ? 0x0200 : 0x0000);
|
||||
on ? 0x0000 : 0x0200);
|
||||
}
|
||||
|
||||
enum ThunderScopeHWStatus thunderscopehw_configure_adc(struct ThunderScopeHW* ts)
|
||||
|
@ -33,7 +33,7 @@
|
||||
#define SPI_FRONT_END_CHANNEL_3 0xFA
|
||||
#define SPI_FRONT_END_CHANNEL_4 0xFB
|
||||
|
||||
#define SPI_BYTE_ADC 0xFC
|
||||
#define SPI_BYTE_ADC 0xFD
|
||||
|
||||
#define I2C_BYTE_PLL 0xFF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user