mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
use pio native to build standalone
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef EMSESP_STANDALONE
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
@@ -125,3 +127,5 @@ double ledcSetup(uint8_t chan, double freq, uint8_t bit_num) {
|
||||
};
|
||||
void ledcAttachPin(uint8_t pin, uint8_t chan){};
|
||||
void ledcWrite(uint8_t chan, uint32_t duty){};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user