1
0
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:
Cristian Maglie
2014-07-01 18:34:46 +02:00
3 changed files with 10 additions and 0 deletions

View File

@ -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)

View File

@ -26,6 +26,7 @@ extern "C" {
/**
*
*/
extern void initVariant( void ) ;
extern void init( void ) ;
/**