mirror of
				https://github.com/platformio/platformio-core.git
				synced 2025-11-03 23:41:38 +01:00 
			
		
		
		
	Fix invalid example with converting INO to CPP in the Atom docs // Resolve #757
This commit is contained in:
		@@ -381,11 +381,11 @@ For example, we have the next ``Demo.ino`` file:
 | 
			
		||||
 | 
			
		||||
.. code-block:: cpp
 | 
			
		||||
 | 
			
		||||
    void function setup () {
 | 
			
		||||
    void setup () {
 | 
			
		||||
        someFunction(13);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    void function loop() {
 | 
			
		||||
    void loop() {
 | 
			
		||||
        delay(1000);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@@ -406,11 +406,11 @@ The final ``Demo.cpp``:
 | 
			
		||||
 | 
			
		||||
    void someFunction(int num);
 | 
			
		||||
 | 
			
		||||
    void function setup () {
 | 
			
		||||
    void setup () {
 | 
			
		||||
        someFunction(13);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    void function loop() {
 | 
			
		||||
    void loop() {
 | 
			
		||||
        delay(1000);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user