doc: Updated spelling occured -> occurred

Fixed small typo.

Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck 2017-03-20 14:26:50 -07:00
parent 05435eed4f
commit ccb9fa2a4f
7 changed files with 8 additions and 8 deletions

View File

@ -15,7 +15,7 @@ int main()
bool abc = 0; bool abc = 0;
while(1){ while(1){
if(a110x_magnet_detected(dev, &abc) != UPM_SUCCESS){ if(a110x_magnet_detected(dev, &abc) != UPM_SUCCESS){
printf("an error has occured\n"); printf("an error has occurred\n");
} }
upm_delay(1); upm_delay(1);
printf("value retrieved: %d\n", abc); printf("value retrieved: %d\n", abc);

View File

@ -44,7 +44,7 @@ int main()
bool abc = 0; bool abc = 0;
while(1){ while(1){
if(button_get_value(dev, &abc) != UPM_SUCCESS){ if(button_get_value(dev, &abc) != UPM_SUCCESS){
printf("an error has occured\n"); printf("an error has occurred\n");
} }
upm_delay(1); upm_delay(1);
printf("value retrieved: %d\n", abc); printf("value retrieved: %d\n", abc);

View File

@ -15,7 +15,7 @@ int main()
bool abc = 0; bool abc = 0;
while(1){ while(1){
if(collision_is_colliding(dev, &abc) != UPM_SUCCESS){ if(collision_is_colliding(dev, &abc) != UPM_SUCCESS){
printf("an error has occured\n"); printf("an error has occurred\n");
} }
upm_delay(1); upm_delay(1);
printf("value retrieved: %d\n", abc); printf("value retrieved: %d\n", abc);

View File

@ -15,7 +15,7 @@ int main()
bool abc = 0; bool abc = 0;
while(1){ while(1){
if(ttp223_is_pressed(dev, &abc) != UPM_SUCCESS){ if(ttp223_is_pressed(dev, &abc) != UPM_SUCCESS){
printf("an error has occured\n"); printf("an error has occurred\n");
} }
upm_delay(1); upm_delay(1);
printf("value retrieved: %d\n", abc); printf("value retrieved: %d\n", abc);

View File

@ -47,7 +47,7 @@ public class MAX31855Example {
Thread.sleep(1000); Thread.sleep(1000);
} catch (InterruptedException e) { } catch (InterruptedException e) {
// TODO Auto-generated catch block // TODO Auto-generated catch block
System.out.println("The following exception occured: "+e.getMessage()); System.out.println("The following exception occurred: "+e.getMessage());
} }
} }
//! [Interesting] //! [Interesting]

View File

@ -49,7 +49,7 @@ public class MAX5487Example {
Thread.sleep(5); Thread.sleep(5);
} catch (InterruptedException e) { } catch (InterruptedException e) {
// TODO Auto-generated catch block // TODO Auto-generated catch block
System.out.println("The following Exception occured: "+e.getMessage()); System.out.println("The following Exception occurred: "+e.getMessage());
} }
} }
@ -60,7 +60,7 @@ public class MAX5487Example {
Thread.sleep(5); Thread.sleep(5);
} catch (InterruptedException e) { } catch (InterruptedException e) {
// TODO Auto-generated catch block // TODO Auto-generated catch block
System.out.println("The following exception occured: "+e.getMessage()); System.out.println("The following exception occurred: "+e.getMessage());
} }
} }

View File

@ -58,7 +58,7 @@ public class MAXds3231mExample {
Thread.sleep(500); Thread.sleep(500);
} catch (InterruptedException e) { } catch (InterruptedException e) {
// TODO Auto-generated catch block // TODO Auto-generated catch block
System.out.println("The following exception occured: "+e.getMessage()); System.out.println("The following exception occurred: "+e.getMessage());
} }
while(true){ while(true){