Andrew Tridgell
0d44d666d0
AP_Notify: use take_blocking instead of HAL_SEMAPHORE_BLOCK_FOREVER
...
this makes for cleaner and smaller code as the failure case is not
needed
5 years ago
Pierre Kancir
a6eb337438
AP_Notify: remove unused variables
8 years ago
Peter Barker
ece0e84ddf
AP_Notify: reindent (NFC)
8 years ago
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.
8 years ago
Peter Barker
bcb0ead71a
AP_Notify: improve display detection
...
Create probe function for displays
Use a mask to determine I2C buses to probe
8 years ago
murata
eb6cdd27fb
AP_Notify: Change from magic number 0 to definition name.
8 years ago
Randy Mackay
1300a9d3c6
AP_Notify: minor formatting fixes
...
no functional change
8 years ago
Randy Mackay
4691bc76f3
AP_Notify: display gets semaphore protecting display buffer
8 years ago
Randy Mackay
80c1433682
AP_Notify: Display backend methods become void
...
We never use the return value so might as well remove it
8 years ago
Randy Mackay
fd365de5f8
AP_Notify: Display structures PACKED
8 years ago
Randy Mackay
843210cac2
AP_Notify: Display bus passed into contructor
8 years ago
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
8 years ago
kozinalexey
ed4115c4e3
AP_Notify: Support for OLED display by Alexey Kozin
8 years ago
Lucas De Marchi
5472bc4de1
Global: change Device::PeriodicCb signature
...
Remove bool return as it's never being used and not supported on PX4.
8 years ago
Andrew Tridgell
a9cb03ad74
AP_Notify: fixed threading in two notify backends
8 years ago
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.
8 years ago
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
9 years ago
Luiz Ywata
f26692de92
AP_Notify: Display_SSD1306_I2C: use I2CDevice interface
9 years ago
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.
9 years ago
mirkix
2457558624
AP_Notify: Add display support
9 years ago