fix compile warnings
This commit is contained in:
parent
0ac7d3d942
commit
1117137363
|
@ -159,7 +159,7 @@ uint8_t IRAM_ATTR platform_sigma_delta_set_duty( uint8_t channel, int8_t duty )
|
|||
int platform_adc_exists( uint8_t adc ) { return adc < 2 && adc > 0; }
|
||||
|
||||
int platform_adc_channel_exists( uint8_t adc, uint8_t channel ) {
|
||||
return (adc == 1 && (channel >= 0 && channel < 8));
|
||||
return (adc == 1 && channel < 8);
|
||||
}
|
||||
|
||||
uint8_t platform_adc_set_width( uint8_t adc, int bits ) {
|
||||
|
|
|
@ -221,6 +221,7 @@ int32_t vfs_mkdir( const char *name )
|
|||
|
||||
#ifdef CONFIG_BUILD_SPIFFS
|
||||
// not supported
|
||||
(void)fs_fns;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BUILD_FATFS
|
||||
|
|
Loading…
Reference in New Issue