]> granicus.if.org Git - esp-idf/commitdiff
Merge branch 'bugfix/compile_with_no_timers' into 'master'
authorAngus Gratton <angus@espressif.com>
Wed, 9 Nov 2016 01:21:23 +0000 (09:21 +0800)
committerAngus Gratton <angus@espressif.com>
Wed, 9 Nov 2016 01:21:23 +0000 (09:21 +0800)
newlib: fix compilation error when no timers are enabled in menuconfig

I have checked that three options (RTC/RTC+FRC1/FRC1) work, but didn't check "None" option.
This adds some missing ifdef blocks to remove "unused function/variable" warnings and fixes the use of `__errno_r` in a non-reentrant function.

See merge request !174


Trivial merge