Kristian Sloth Lauszus
|
e12e219b4e
|
Various fixes and improvements (#96)
* Global variables shared between an interrupt and the main code should be volatile
See: https://www.embedded.com/electronics-blogs/beginner-s-corner/4023801/Introduction-to-the-Volatile-Keyword
* There is no reason to change the active report if it has not changed
* Declare local functions and variables static
This both helps the compiler and the programmer
|
2018-03-11 19:19:15 +01:00 |
|
László Monda
|
b76b3c0e4f
|
Slow down main bus I2C baud rate to 30kHz when BusPal is on to make firmware transfer more robust.
|
2018-01-14 20:27:17 +01:00 |
|
László Monda
|
c854e98d84
|
Implement DevicePropertyId_I2cMainBusBaudRate
|
2018-01-14 18:10:04 +01:00 |
|
László Monda
|
4d83bc2e75
|
Add I2cMainBusBaudRateBps
|
2018-01-13 03:29:01 +01:00 |
|
László Monda
|
cf7b05ab72
|
Make InitI2cMainBus() private.
|
2018-01-13 03:21:12 +01:00 |
|
László Monda
|
fa4a3abf84
|
Extract ReinitI2cMainBus()
|
2018-01-13 03:14:42 +01:00 |
|
László Monda
|
302a750621
|
Improve file according to our coding standards.
|
2017-10-07 16:37:20 +02:00 |
|
László Monda
|
b5f1bcc4d6
|
Split InitI2c() as InitI2cMainBus() and initI2cEepromBus() and invoke InitI2cMainBus() from PIT_I2C_WATCHDOG_HANDLER()
|
2017-10-03 20:43:26 +02:00 |
|
László Monda
|
751810ec4c
|
Explicitly add void to the argument list of zero argument functions.
|
2017-09-28 03:03:11 +02:00 |
|
László Monda
|
ecf1ad2468
|
Don't use the extern keyword for functions because it's redundant.
|
2017-09-28 02:37:55 +02:00 |
|
Eric Tang
|
9a5e146866
|
Rename InitPeripherials to InitPeripherals
|
2017-07-12 20:06:11 -07:00 |
|
László Monda
|
40498a15b9
|
Fix typo by renaming init_peripherials.[ch] to init_peripherals.[ch]
|
2017-05-23 03:19:24 +02:00 |
|