Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
11171373
Commit
11171373
authored
May 05, 2017
by
devsaurus
Browse files
fix compile warnings
parent
0ac7d3d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
components/platform/platform.c
View file @
11171373
...
@@ -159,7 +159,7 @@ uint8_t IRAM_ATTR platform_sigma_delta_set_duty( uint8_t channel, int8_t duty )
...
@@ -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_exists
(
uint8_t
adc
)
{
return
adc
<
2
&&
adc
>
0
;
}
int
platform_adc_channel_exists
(
uint8_t
adc
,
uint8_t
channel
)
{
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
)
{
uint8_t
platform_adc_set_width
(
uint8_t
adc
,
int
bits
)
{
...
...
components/platform/vfs.c
View file @
11171373
...
@@ -221,6 +221,7 @@ int32_t vfs_mkdir( const char *name )
...
@@ -221,6 +221,7 @@ int32_t vfs_mkdir( const char *name )
#ifdef CONFIG_BUILD_SPIFFS
#ifdef CONFIG_BUILD_SPIFFS
// not supported
// not supported
(
void
)
fs_fns
;
#endif
#endif
#ifdef CONFIG_BUILD_FATFS
#ifdef CONFIG_BUILD_FATFS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment