Formatting cleanup
This commit is contained in:
parent
c7e286f51e
commit
5a1be3c2e4
50 changed files with 283 additions and 282 deletions
8
external/tellstick-rfcmd/rfcmd.c
vendored
8
external/tellstick-rfcmd/rfcmd.c
vendored
|
|
@ -70,7 +70,7 @@
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Modifications from rfcmd ver 2.1.1 done by Johan Ström
|
* Modifications from rfcmd ver 2.1.1 done by Johan Str<EFBFBD>m
|
||||||
* Default disabled semaphores for FreeBSD.
|
* Default disabled semaphores for FreeBSD.
|
||||||
* Added status readback in ftdi.c, instead of wasting time in sleep.
|
* Added status readback in ftdi.c, instead of wasting time in sleep.
|
||||||
*
|
*
|
||||||
|
|
@ -364,9 +364,9 @@ int createIkeaString( const char * pSystemStr, const char * pChannelStr, const c
|
||||||
{
|
{
|
||||||
*pStrReturn = '\0'; /* Make sure tx string is empty */
|
*pStrReturn = '\0'; /* Make sure tx string is empty */
|
||||||
|
|
||||||
const char STARTCODE[] = "STTTTTTª";
|
const char STARTCODE[] = "STTTTTT<EFBFBD>";
|
||||||
const char TT[] = "TT";
|
const char TT[] = "TT";
|
||||||
const char A[] = "ª";
|
const char A[] = "<EFBFBD>";
|
||||||
int systemCode = atoi(pSystemStr) - 1; /* System 1..16 */
|
int systemCode = atoi(pSystemStr) - 1; /* System 1..16 */
|
||||||
int channelCode = atoi(pChannelStr); /* Channel 1..10 */
|
int channelCode = atoi(pChannelStr); /* Channel 1..10 */
|
||||||
int Level = atoi(pLevelStr); /* off,10,20,..,90,on */
|
int Level = atoi(pLevelStr); /* off,10,20,..,90,on */
|
||||||
|
|
@ -658,6 +658,6 @@ void printVersion(void) {
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf("Written by:\n");
|
printf("Written by:\n");
|
||||||
printf("Tord Andersson, Micke Prag, Gudmund Berggren, Tapani Rintala\n");
|
printf("Tord Andersson, Micke Prag, Gudmund Berggren, Tapani Rintala\n");
|
||||||
printf("and Johan Ström\n");
|
printf("and Johan Str<EFBFBD>m\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ public class UTCTimePeriod{
|
||||||
public boolean equals(Object other) {
|
public boolean equals(Object other) {
|
||||||
if (other == null)
|
if (other == null)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (other instanceof UTCTimePeriod) {
|
if (other instanceof UTCTimePeriod) {
|
||||||
UTCTimePeriod o = (UTCTimePeriod)other;
|
UTCTimePeriod o = (UTCTimePeriod)other;
|
||||||
return start == o.start
|
return start == o.start
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue