mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
doc: Updated spelling occured -> occurred
Fixed small typo. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
parent
05435eed4f
commit
ccb9fa2a4f
@ -15,7 +15,7 @@ int main()
|
||||
bool abc = 0;
|
||||
while(1){
|
||||
if(a110x_magnet_detected(dev, &abc) != UPM_SUCCESS){
|
||||
printf("an error has occured\n");
|
||||
printf("an error has occurred\n");
|
||||
}
|
||||
upm_delay(1);
|
||||
printf("value retrieved: %d\n", abc);
|
||||
|
@ -44,7 +44,7 @@ int main()
|
||||
bool abc = 0;
|
||||
while(1){
|
||||
if(button_get_value(dev, &abc) != UPM_SUCCESS){
|
||||
printf("an error has occured\n");
|
||||
printf("an error has occurred\n");
|
||||
}
|
||||
upm_delay(1);
|
||||
printf("value retrieved: %d\n", abc);
|
||||
|
@ -15,7 +15,7 @@ int main()
|
||||
bool abc = 0;
|
||||
while(1){
|
||||
if(collision_is_colliding(dev, &abc) != UPM_SUCCESS){
|
||||
printf("an error has occured\n");
|
||||
printf("an error has occurred\n");
|
||||
}
|
||||
upm_delay(1);
|
||||
printf("value retrieved: %d\n", abc);
|
||||
|
@ -15,7 +15,7 @@ int main()
|
||||
bool abc = 0;
|
||||
while(1){
|
||||
if(ttp223_is_pressed(dev, &abc) != UPM_SUCCESS){
|
||||
printf("an error has occured\n");
|
||||
printf("an error has occurred\n");
|
||||
}
|
||||
upm_delay(1);
|
||||
printf("value retrieved: %d\n", abc);
|
||||
|
@ -47,7 +47,7 @@ public class MAX31855Example {
|
||||
Thread.sleep(1000);
|
||||
} catch (InterruptedException e) {
|
||||
// TODO Auto-generated catch block
|
||||
System.out.println("The following exception occured: "+e.getMessage());
|
||||
System.out.println("The following exception occurred: "+e.getMessage());
|
||||
}
|
||||
}
|
||||
//! [Interesting]
|
||||
|
@ -49,7 +49,7 @@ public class MAX5487Example {
|
||||
Thread.sleep(5);
|
||||
} catch (InterruptedException e) {
|
||||
// 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);
|
||||
} catch (InterruptedException e) {
|
||||
// TODO Auto-generated catch block
|
||||
System.out.println("The following exception occured: "+e.getMessage());
|
||||
System.out.println("The following exception occurred: "+e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -58,7 +58,7 @@ public class MAXds3231mExample {
|
||||
Thread.sleep(500);
|
||||
} catch (InterruptedException e) {
|
||||
// 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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user