mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Merge branch 'master' into matthijskooijman-ide-1.5.x-timer-variant
Conflicts: app/src/processing/app/debug/Compiler.java hardware/arduino/sam/cores/arduino/main.cpp
This commit is contained in:
@ -31,6 +31,11 @@ extern void SysTick_Handler( void )
|
||||
}
|
||||
*/
|
||||
|
||||
// Weak empty variant initialization function.
|
||||
// May be redefined by variant files.
|
||||
void initVariant() __attribute__((weak));
|
||||
void initVariant() { }
|
||||
|
||||
/*
|
||||
* \brief Main entry point of Arduino application
|
||||
*/
|
||||
@ -38,6 +43,8 @@ int main( void )
|
||||
{
|
||||
init();
|
||||
|
||||
initVariant();
|
||||
|
||||
delay(1);
|
||||
|
||||
#if defined(USBCON)
|
||||
|
@ -26,6 +26,7 @@ extern "C" {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
extern void initVariant( void ) ;
|
||||
extern void init( void ) ;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user