Pierre Kancir
a6eb337438
AP_Notify: remove unused variables
2017-05-02 18:14:40 +01:00
Peter Barker
ece0e84ddf
AP_Notify: reindent (NFC)
2017-05-02 08:50:41 +10:00
Peter Barker
ce5739f1a0
AP_Notify: remove semaphores protecting pixels
...
The semaphore-take-forevers were absolutely killing performance.
We can take some random pixel corruption to avoid vehicles crashing.
2017-05-02 08:50:41 +10:00
Peter Barker
bcb0ead71a
AP_Notify: improve display detection
...
Create probe function for displays
Use a mask to determine I2C buses to probe
2017-03-17 00:37:40 +00:00
murata
eb6cdd27fb
AP_Notify: Change from magic number 0 to definition name.
2017-02-18 14:12:36 +00:00
Randy Mackay
1300a9d3c6
AP_Notify: minor formatting fixes
...
no functional change
2017-01-23 15:07:21 -08:00
Randy Mackay
4691bc76f3
AP_Notify: display gets semaphore protecting display buffer
2017-01-23 15:07:21 -08:00
Randy Mackay
80c1433682
AP_Notify: Display backend methods become void
...
We never use the return value so might as well remove it
2017-01-23 15:07:21 -08:00
Randy Mackay
fd365de5f8
AP_Notify: Display structures PACKED
2017-01-23 15:07:20 -08:00
Randy Mackay
843210cac2
AP_Notify: Display bus passed into contructor
2017-01-23 15:07:20 -08:00
Randy Mackay
c5ba54c3fe
AP_Notify: adjust Display class structure
...
This makes the display architecture closer to our other frontend/backend splits
Added check that display is initialised successfully in hw_init
Renamed _update_timer to just _timer to make more consistent with other drivers
2017-01-23 15:07:20 -08:00
kozinalexey
ed4115c4e3
AP_Notify: Support for OLED display by Alexey Kozin
2017-01-23 15:07:20 -08:00
Lucas De Marchi
5472bc4de1
Global: change Device::PeriodicCb signature
...
Remove bool return as it's never being used and not supported on PX4.
2017-01-14 10:03:54 +11:00
Andrew Tridgell
a9cb03ad74
AP_Notify: fixed threading in two notify backends
2016-11-09 17:08:02 +11:00
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Lucas De Marchi
a34a5c1aa3
AP_Notify: Display_SSD1306_I2C: Fix after conversion to I2CDevice
...
- Initialize device on hw_init() method, allowing it not to be
present
- Add missing lock
- Add packed attribute to structs
- Move defines to source file
2016-07-14 17:32:33 -03:00
Luiz Ywata
f26692de92
AP_Notify: Display_SSD1306_I2C: use I2CDevice interface
2016-07-14 17:32:33 -03:00
Lucas De Marchi
5ba20b1763
AP_Notify: sanitize includes
...
Due to the way the headers are organized changing a single change in
an AP_Notify driver would trigger a rebuild for most of the files in
the project. Time could be saved by using ccache (since most of the
things didn't change) but we can do better, i.e. re-organize the headers
so we don't have to re-build everything.
2016-02-01 14:18:51 -02:00
mirkix
2457558624
AP_Notify: Add display support
2016-01-07 14:32:56 -02:00