main: Update copyright headers
And remove documentation from it, it should all be in the newly added docs.
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
|
* Modified from industrialio buffer test code, and Lenovo Yoga (2 Pro) orientation helper
|
||||||
|
* Copyright (c) 2008 Jonathan Cameron
|
||||||
|
* Copyright (c) 2014 Peter F. Patel-Schneider
|
||||||
* Copyright (c) 2014 Bastien Nocera <hadess@hadess.net>
|
* Copyright (c) 2014 Bastien Nocera <hadess@hadess.net>
|
||||||
* Copyright (c) 2015 Elad Alfassa <elad@fedoraproject.org>
|
* Copyright (c) 2015 Elad Alfassa <elad@fedoraproject.org>
|
||||||
*
|
*
|
||||||
@@ -6,6 +9,7 @@
|
|||||||
* under the terms of the GNU General Public License version 2 as published by
|
* under the terms of the GNU General Public License version 2 as published by
|
||||||
* the Free Software Foundation.
|
* the Free Software Foundation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "iio-buffer-utils.h"
|
#include "iio-buffer-utils.h"
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
@@ -1,4 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
|
* Modified from industrialio buffer test code, and Lenovo Yoga (2 Pro) orientation helper
|
||||||
|
* Copyright (c) 2008 Jonathan Cameron
|
||||||
|
* Copyright (c) 2014 Peter F. Patel-Schneider
|
||||||
* Copyright (c) 2014 Bastien Nocera <hadess@hadess.net>
|
* Copyright (c) 2014 Bastien Nocera <hadess@hadess.net>
|
||||||
* Copyright (c) 2015 Elad Alfassa <elad@fedoraproject.org>
|
* Copyright (c) 2015 Elad Alfassa <elad@fedoraproject.org>
|
||||||
*
|
*
|
||||||
|
@@ -1,24 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Modified from industrialio buffer test code, and Lenovo Yoga (2 Pro) orientation helper
|
* Copyright (c) 2014-2015 Bastien Nocera <hadess@hadess.net>
|
||||||
* Copyright (c) 2008 Jonathan Cameron
|
|
||||||
* Copyright (c) 2014 Peter F. Patel-Schneider
|
|
||||||
* Copyright (c) 2011, 2014 Bastien Nocera <hadess@hadess.net>
|
|
||||||
*
|
|
||||||
* Every 700 msec, read data from an IIO accelerometer, and
|
|
||||||
* from the accelerometer values, as well as the previous
|
|
||||||
* orientation, calculate the device's new orientation.
|
|
||||||
*
|
|
||||||
* Possible values are:
|
|
||||||
* * undefined
|
|
||||||
* * normal
|
|
||||||
* * bottom-up
|
|
||||||
* * left-up
|
|
||||||
* * right-up
|
|
||||||
*
|
|
||||||
* The property will be persistent across sessions, and the new
|
|
||||||
* orientations can be deducted from the previous one (it allows
|
|
||||||
* for a threshold for switching between opposite ends of the
|
|
||||||
* orientation).
|
|
||||||
*
|
*
|
||||||
* orientation_calc() from the sensorfw package
|
* orientation_calc() from the sensorfw package
|
||||||
* Copyright (C) 2009-2010 Nokia Corporation
|
* Copyright (C) 2009-2010 Nokia Corporation
|
||||||
|
@@ -1,25 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Modified from industrialio buffer test code, and Lenovo Yoga (2 Pro) orientation helper
|
|
||||||
* Copyright (c) 2008 Jonathan Cameron
|
|
||||||
* Copyright (c) 2014 Peter F. Patel-Schneider
|
|
||||||
* Copyright (c) 2011, 2014 Bastien Nocera <hadess@hadess.net>
|
* Copyright (c) 2011, 2014 Bastien Nocera <hadess@hadess.net>
|
||||||
*
|
*
|
||||||
* Every 700 msec, read data from an IIO accelerometer, and
|
|
||||||
* from the accelerometer values, as well as the previous
|
|
||||||
* orientation, calculate the device's new orientation.
|
|
||||||
*
|
|
||||||
* Possible values are:
|
|
||||||
* * undefined
|
|
||||||
* * normal
|
|
||||||
* * bottom-up
|
|
||||||
* * left-up
|
|
||||||
* * right-up
|
|
||||||
*
|
|
||||||
* The property will be persistent across sessions, and the new
|
|
||||||
* orientations can be deducted from the previous one (it allows
|
|
||||||
* for a threshold for switching between opposite ends of the
|
|
||||||
* orientation).
|
|
||||||
*
|
|
||||||
* orientation_calc() from the sensorfw package
|
* orientation_calc() from the sensorfw package
|
||||||
* Copyright (C) 2009-2010 Nokia Corporation
|
* Copyright (C) 2009-2010 Nokia Corporation
|
||||||
* Authors:
|
* Authors:
|
||||||
|
@@ -1,25 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Modified from industrialio buffer test code, and Lenovo Yoga (2 Pro) orientation helper
|
|
||||||
* Copyright (c) 2008 Jonathan Cameron
|
|
||||||
* Copyright (c) 2014 Peter F. Patel-Schneider
|
|
||||||
* Copyright (c) 2011, 2014 Bastien Nocera <hadess@hadess.net>
|
* Copyright (c) 2011, 2014 Bastien Nocera <hadess@hadess.net>
|
||||||
*
|
*
|
||||||
* Every 700 msec, read data from an IIO accelerometer, and
|
|
||||||
* from the accelerometer values, as well as the previous
|
|
||||||
* orientation, calculate the device's new orientation.
|
|
||||||
*
|
|
||||||
* Possible values are:
|
|
||||||
* * undefined
|
|
||||||
* * normal
|
|
||||||
* * bottom-up
|
|
||||||
* * left-up
|
|
||||||
* * right-up
|
|
||||||
*
|
|
||||||
* The property will be persistent across sessions, and the new
|
|
||||||
* orientations can be deducted from the previous one (it allows
|
|
||||||
* for a threshold for switching between opposite ends of the
|
|
||||||
* orientation).
|
|
||||||
*
|
|
||||||
* orientation_calc() from the sensorfw package
|
* orientation_calc() from the sensorfw package
|
||||||
* Copyright (C) 2009-2010 Nokia Corporation
|
* Copyright (C) 2009-2010 Nokia Corporation
|
||||||
* Authors:
|
* Authors:
|
||||||
|
Reference in New Issue
Block a user